Fix a crash with halflife sprites.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3127 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-02-22 13:46:48 +00:00
parent aac9d42554
commit 02b182a260
1 changed files with 1 additions and 1 deletions

View File

@ -3194,7 +3194,7 @@ qboolean GLMod_LoadSpriteModel (model_t *mod, void *buffer)
mod->mins[2] = -psprite->maxheight/2;
mod->maxs[2] = psprite->maxheight/2;
if (pin->version == SPRITEHL_VERSION)
if (version == SPRITEHL_VERSION)
{
int i;
short *numi = (short*)(pin+1);