Revert previous patch - turns out zero padding is necessary after all.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2438 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
e26e734113
commit
5088fc3a96
|
@ -149,7 +149,7 @@ void texLoad(const char *fileName)
|
|||
{
|
||||
iTexture tile;
|
||||
|
||||
sprintf(fullPath, "%s/tile-%d.png", partialPath, k);
|
||||
sprintf(fullPath, "%s/tile-%02d.png", partialPath, k);
|
||||
if (PHYSFS_exists(fullPath)) // avoid dire warning
|
||||
{
|
||||
BOOL retval = iV_loadImage_PNG(fullPath, &tile);
|
||||
|
|
Loading…
Reference in New Issue