ref: 9461b141f1efa82239c7f3045a10f3b1c3b7b5da
parent: 058881e4eb6379b62551f1dd3a4fca611c01e41e
author: Gabriel Ravier <gabravier@gmail.com>
date: Sat Nov 9 18:39:28 EST 2019
Documentation : Removed comment which talks about an issue fixed by commit e34f492418a6ec18c6b24303c31ca043f8e3e143 Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
--- a/src/NpcAct080.cpp
+++ b/src/NpcAct080.cpp
@@ -1081,8 +1081,6 @@
case 10:
if (++npc->act_wait > 100 && npc->act_wait % 6 == 1)
{
- // The range of unsigned char is [0, 255] so these two values are implicitly truncated (Might be UB ?)
- // TODO : Investigate on whether this is erroneous
if (npc->direct == 0)
deg = 0x88;
else