sp2 loader no longer errors if an image is missing
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 15 Apr 2007 20:52:08 +0000 (20:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 15 Apr 2007 20:52:08 +0000 (20:52 +0000)
(WHY did it do this before??)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7098 d7cf8633-e32d-0410-b094-e92efae38249

model_sprite.c

index ad82c76..2843b5d 100644 (file)
@@ -391,7 +391,7 @@ void Mod_IDS2_Load(model_t *mod, void *buffer, void *bufferend)
 
                if (width > 0 && height > 0 && cls.state != ca_dedicated)
                        if (!Mod_LoadSkinFrame(&sprframe->texture.skinframes[0], pinframe->name, texflags, false, false))
-                               Host_Error("Mod_IDS2_Load: failed to load %s", pinframe->name);
+                               Con_Printf("Mod_IDS2_Load: failed to load %s", pinframe->name);
 
                Mod_SpriteSetupTexture(sprframe, fullbright, false);
        }