Fix some more incorrectly-decompiled code
This commit is contained in:
parent
e34f492418
commit
5026964d98
1 changed files with 2 additions and 2 deletions
|
@ -1292,9 +1292,9 @@ void ActNpc268(NPCHAR *npc)
|
||||||
if (++npc->act_wait > 30 && npc->act_wait % 4 == 1)
|
if (++npc->act_wait > 30 && npc->act_wait % 4 == 1)
|
||||||
{
|
{
|
||||||
if (npc->direct == 0)
|
if (npc->direct == 0)
|
||||||
deg = -120;
|
deg = 0x88;
|
||||||
else
|
else
|
||||||
deg = -8;
|
deg = 0xF8;
|
||||||
|
|
||||||
deg += (unsigned char)Random(-0x10, 0x10);
|
deg += (unsigned char)Random(-0x10, 0x10);
|
||||||
ym = 5 * GetSin(deg);
|
ym = 5 * GetSin(deg);
|
||||||
|
|
Loading…
Add table
Reference in a new issue