From 0d833b38a8e1c8123b1ac48850a580decadaf2a4 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Sun, 15 Sep 2019 10:50:46 +0200 Subject: [PATCH] Prevent some annoying warnings popping up everywhere Signed-off-by: Gabriel Ravier --- src/NpChar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NpChar.h b/src/NpChar.h index 7fb14295..53a6e83b 100644 --- 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