betterComments : Some stuff for the PR to accurate
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
9461b141f1
commit
f7a3eee9b5
2 changed files with 2 additions and 4 deletions
|
@ -69,8 +69,8 @@ void ActNpc160(NPCHAR *npc)
|
|||
break;
|
||||
|
||||
case 3:
|
||||
npc->damage = 20;
|
||||
npc->damage = 0; // Duplicate line
|
||||
npc->damage = 20; // Overriden by the following line
|
||||
npc->damage = 0;
|
||||
|
||||
if (++npc->act_wait > 24)
|
||||
{
|
||||
|
|
|
@ -1291,8 +1291,6 @@ void ActNpc268(NPCHAR *npc)
|
|||
case 51:
|
||||
if (++npc->act_wait > 30 && npc->act_wait % 4 == 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
|
||||
|
|
Loading…
Add table
Reference in a new issue