fix hl sprite loading (stupid typo in handling sprite types)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 2 Apr 2005 16:04:10 +0000 (16:04 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 2 Apr 2005 16:04:10 +0000 (16:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5138 d7cf8633-e32d-0410-b094-e92efae38249

model_sprite.c

index f6ef9f2..1d824c1 100644 (file)
@@ -227,7 +227,7 @@ void Mod_IDSP_Load(model_t *mod, void *buffer)
        loadmodel->DrawLight = NULL;
 
        version = LittleLong(((dsprite_t *)buffer)->version);
-       if (version == SPRITE_VERSION || SPRITE32_VERSION)
+       if (version == SPRITE_VERSION || version == SPRITE32_VERSION)
        {
                pinqsprite = (dsprite_t *)datapointer;
                datapointer += sizeof(dsprite_t);