]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Fix for image replacement in sprites, now the sprite extension is stripped before...
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 12 Jan 2001 11:36:47 +0000 (11:36 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 12 Jan 2001 11:36:47 +0000 (11:36 +0000)
commit00e6a2f827b15d04d583d91db3865e6c3230748d
treeba2984d70f6f9373603d8968a0c679a7a48b8f16
parentbc811690bf2cc32f7ac610c26bf2320e9bc848cb
Fix for image replacement in sprites, now the sprite extension is stripped before the frame names are generated (so naming for s_explod.spr is like s_explod_0.tga, s_explod_1.tga, etc) and the extension stripping in the image loader will only strip off .lmp or .pcx or .tga, not other extensions, the sprite extension stripper is similar but for .spr and .spr32.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@127 d7cf8633-e32d-0410-b094-e92efae38249
image.c
model_sprite.c