From 0e649e72393b2713d944dc9229e672ccb35dfe1e Mon Sep 17 00:00:00 2001 From: MaddMugsy Date: Fri, 9 Jun 2006 00:24:14 +0000 Subject: [PATCH] -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 --- TileEngine/LightEffects.h | 2 +- TileEngine/SmokeEffects.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TileEngine/LightEffects.h b/TileEngine/LightEffects.h index b11dfe29..2be95ded 100644 --- a/TileEngine/LightEffects.h +++ b/TileEngine/LightEffects.h @@ -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; diff --git a/TileEngine/SmokeEffects.h b/TileEngine/SmokeEffects.h index d2ddd5e2..07d1036e 100644 --- a/TileEngine/SmokeEffects.h +++ b/TileEngine/SmokeEffects.h @@ -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;