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-861f7616d084
master
Per Inge Mathisen 2007-08-25 22:33:14 +00:00
parent e26e734113
commit 5088fc3a96
1 changed files with 1 additions and 1 deletions

View File

@ -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);