-changed bAge from INT8 to UINT8 in LightEffects.h and SmokeEffects.h so that the effects can have a longer duration.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@210 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2006-06-09 00:24:14 +00:00
parent 7abe11ebc1
commit 0e649e7239
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ typedef struct
UINT8 ubDuration; // the number of turns will remain effective
UINT8 bRadius; // the current radius
INT8 bAge; // the number of turns light has been around
UINT8 bAge; // the number of turns light has been around
BOOLEAN fAllocated;
INT32 iLight;
UINT32 uiTimeOfLastUpdate;
+1 -1
View File
@@ -25,7 +25,7 @@ typedef struct TAG_SMOKE_EFFECT
UINT8 ubDuration; // the number of turns gas will remain effective
UINT8 ubRadius; // the current radius of the cloud in map tiles
UINT8 bFlags; // 0 - outdoors (fast spread), 1 - indoors (slow)
INT8 bAge; // the number of turns gas has been around
UINT8 bAge; // the number of turns gas has been around
BOOLEAN fAllocated;
INT8 bType;
UINT16 usItem;