mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
-changed light and smoke effect durations back to UINT8s
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@207 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -299,7 +299,7 @@ typedef struct
|
||||
UINT8 ubVolatility; // maximum chance of accidental explosion
|
||||
UINT8 ubAnimationID; // Animation enum to use
|
||||
UINT32 uiIndex;
|
||||
UINT16 ubDuration;
|
||||
UINT8 ubDuration;
|
||||
UINT8 ubStartRadius;
|
||||
} EXPLOSIVETYPE;
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ explosiveEndElementHandle(void *userData, const char *name)
|
||||
else if(strcmp(name, "ubDuration") == 0)
|
||||
{
|
||||
pData->curElement = ELEMENT;
|
||||
pData->curExplosive.ubDuration = (UINT16) atol(pData->szCharData);
|
||||
pData->curExplosive.ubDuration = (UINT8) atol(pData->szCharData);
|
||||
}
|
||||
|
||||
pData->maxReadDepth--;
|
||||
|
||||
Reference in New Issue
Block a user