Use enough bits for entity skin variables to fix sprite attachment bug

halflife issue #3058
This commit is contained in:
Solokiller 2021-02-26 22:44:14 +01:00
parent 7ccfd8121e
commit c1f470c680

View file

@ -105,7 +105,7 @@ entity_state_t gamedll Entity_Encode
DEFINE_DELTA( angles[2], DT_ANGLE, 16, 1.0 ),
DEFINE_DELTA( colormap, DT_INTEGER, 16, 1.0 ),
DEFINE_DELTA( framerate, DT_SIGNED | DT_FLOAT, 8, 16.0 ),
DEFINE_DELTA( skin, DT_SHORT | DT_SIGNED, 9, 1.0 ),
DEFINE_DELTA( skin, DT_SHORT | DT_SIGNED, 12, 1.0 ),
DEFINE_DELTA( controller[0], DT_BYTE, 8, 1.0 ),
DEFINE_DELTA( controller[1], DT_BYTE, 8, 1.0 ),
DEFINE_DELTA( controller[2], DT_BYTE, 8, 1.0 ),