GP-2006 Fixed bug in DynamicHash comparisons

This commit is contained in:
caheckman 2022-05-06 15:08:03 -04:00
parent 6a2cb72318
commit 6b075ce5b3
3 changed files with 15 additions and 9 deletions

View file

@ -96,6 +96,7 @@ public:
static uint4 getTotalFromHash(uint8 h); ///< Retrieve the encoded collision total from a hash
static bool getIsNotAttached(uint8 h); ///< Retrieve the attachment boolean from a hash
static void clearTotalPosition(uint8 &h); ///< Clear the collision total and position fields within a hash
static uint4 getComparable(uint8 h) { return (uint4)h; } ///< Get only the formal hash for comparing
static uint4 transtable[]; ///< Translation of op-codes to hash values
};