Make enum properties track the enumerator ID internally instead of the index + CUniqueID bugfix

This commit is contained in:
parax0
2016-02-10 18:48:34 -07:00
parent 739e3c51bf
commit 7bd97f0fce
9 changed files with 48 additions and 24 deletions

View File

@@ -8,13 +8,13 @@ class CDamageableTriggerExtra : public CScriptExtra
// Render fluid planes for doors in MP1
enum ERenderSide
{
eNoRender = 0,
eNorth = 1,
eSouth = 2,
eWest = 3,
eEast = 4,
eUp = 5,
eDown = 6
eNoRender = 0x0,
eNorth = 0x1,
eSouth = 0x2,
eWest = 0x4,
eEast = 0x8,
eUp = 0x10,
eDown = 0x20
};
TVector3Property *mpSizeProp;