And we'll put a happy little int16_t right over here

git-svn-id: https://svn.eduke32.com/eduke32@6733 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-03-07 05:41:11 +00:00
parent dfa5c0d712
commit 8e8892aa3a

View file

@ -179,8 +179,8 @@ void Gv_FinalizeWeaponDefaults(void);
case GAMEVAR_UINT8PTR: *(uint8_t *)aGameVars[id].global operator(uint8_t) operand; break; \ case GAMEVAR_UINT8PTR: *(uint8_t *)aGameVars[id].global operator(uint8_t) operand; break; \
case GAMEVAR_Q16PTR: \ case GAMEVAR_Q16PTR: \
{ \ { \
Fix16 *pfix = (Fix16 *)aGameVars[id].global; \ Fix16 *pfix = (Fix16 *)aGameVars[id].global; \
*pfix operator operand; \ *pfix operator(int16_t) operand; \
break; \ break; \
} \ } \
} \ } \