Prevent some annoying warnings popping up everywhere
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
fcc1e3cc23
commit
0d833b38a8
1 changed files with 2 additions and 2 deletions
|
@ -17,13 +17,13 @@
|
|||
|
||||
#define NPC_UPDATE_POSITIONS_WITH_VELOCITIES(npc) \
|
||||
npc->x += npc->xm; \
|
||||
npc->y = npc->ym;
|
||||
npc->y = npc->ym
|
||||
|
||||
#define NPC_SET_RECT_FROM_LEFT_RIGHT(npc, rcLeft, rcRight) \
|
||||
if (npc->direct == DIR_LEFT) \
|
||||
npc->rect = rcLeft[npc->ani_no]; \
|
||||
else \
|
||||
npc->rect = rcRight[npc->ani_no];
|
||||
npc->rect = rcRight[npc->ani_no]
|
||||
|
||||
// Be careful when changing these: they're baked into the 'npc.tbl' file
|
||||
enum NPCFlags
|
||||
|
|
Loading…
Add table
Reference in a new issue