Skip to content

Commit 779e373

Browse files
committed
Fix timer->timer2 bug, thanks to @isage for report
1 parent cb62d32 commit 779e373

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ai/final_battle/misery_battle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static void run_spells(Object *o)
101101
o->timer = 0;
102102
o->frame = 4;
103103

104-
if (++o->timer >= 3)
104+
if (++o->timer2 >= 3)
105105
{
106106
o->state = STATE_SUMMON_BLOCK;
107107
o->timer2 = 0;

0 commit comments

Comments
 (0)