Author: per
Date: Fri Mar 16 18:33:20 2007
New Revision: 888

URL: http://svn.gna.org/viewcvs/warzone?rev=888&view=rev
Log:
Fix bug #8730, where we would crash because the game did not find
a texture to replace during game play. The problem is that the 
texture counter is reset several times during a campaign, so we
cannot trust it. This should be fixed more thoroughly later, for 
now we just check all textures irrespective of the texture counter.
Also improves logging, and fixes a problem that should have made
texture replacements simply not work previously. Thanks to
Gernot Kohlhaas <mr_maniac> for reporting the bug.

Modified:
    trunk/lib/ivis_common/tex.h
    trunk/lib/ivis_opengl/tex.c
    trunk/src/data.c


_______________________________________________
Warzone-commits mailing list
Warzone-commits@gna.org
https://mail.gna.org/listinfo/warzone-commits

Reply via email to