- added SmokeEffects.h and LightEffects.h to TileEngine.vcproj

- increased the INT8 & UINT8 bAge/ubDuration variables in SmokeEffects.cpp and LightEffects.cpp to a good old "int".

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@192 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2006-06-08 00:54:14 +00:00
parent 21bc685f8d
commit 454a0575d8
7 changed files with 16 additions and 22 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ explosiveEndElementHandle(void *userData, const char *name)
else if(strcmp(name, "ubDuration") == 0)
{
pData->curElement = ELEMENT;
pData->curExplosive.ubDuration = (UINT8) atol(pData->szCharData);
pData->curExplosive.ubDuration = (int) atol(pData->szCharData);
}
pData->maxReadDepth--;