mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
-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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user