ref: 5026964d98a818cbbeecb40847aa240a669f65e5
parent: e34f492418a6ec18c6b24303c31ca043f8e3e143
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Nov 9 09:48:11 EST 2019
Fix some more incorrectly-decompiled code
--- a/src/NpcAct260.cpp
+++ b/src/NpcAct260.cpp
@@ -1292,9 +1292,9 @@
if (++npc->act_wait > 30 && npc->act_wait % 4 == 1)
{
if (npc->direct == 0)
- deg = -120;
+ deg = 0x88;
else
- deg = -8;
+ deg = 0xF8;
deg += (unsigned char)Random(-0x10, 0x10);
ym = 5 * GetSin(deg);