ref: 0d833b38a8e1c8123b1ac48850a580decadaf2a4
parent: fcc1e3cc23f050ca5b01d18fef6adcea8e93352f
author: Gabriel Ravier <gabravier@gmail.com>
date: Sun Sep 15 06:50:46 EDT 2019
Prevent some annoying warnings popping up everywhere Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
--- a/src/NpChar.h
+++ b/src/NpChar.h
@@ -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