mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +00:00
[11593] Use MAX_UNIT_STAND_STATE instead client dependent last value in enum.
This commit is contained in:
parent
a0852287ac
commit
8c560ebd97
3 changed files with 4 additions and 2 deletions
|
|
@ -145,6 +145,8 @@ enum UnitStandStateType
|
|||
UNIT_STAND_STATE_CUSTOM = 9 // Depends on model animation. Submerge, freeze, hide, hibernate, rest
|
||||
};
|
||||
|
||||
#define MAX_UNIT_STAND_STATE 10
|
||||
|
||||
// byte flags value (UNIT_FIELD_BYTES_1,2)
|
||||
enum UnitStandFlags
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue