From 002e0f77605f73311d35f335c8895b855c2ebdf0 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Sun, 15 Sep 2019 16:00:06 +0200 Subject: [PATCH] Changed erroneous "=" to "+=" Signed-off-by: Gabriel Ravier --- src/NpChar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NpChar.h b/src/NpChar.h index 53a6e83b..3c141d11 100644 --- a/src/NpChar.h +++ b/src/NpChar.h @@ -17,7 +17,7 @@ #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) \