Skip to content

Commit

Permalink
fix ingrav crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mekolat committed Apr 20, 2016
1 parent 59439f8 commit 9e95e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion world/map/npc/magic/level2-lightning-strike.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
goto L_FreeRecast;

OnAttack:
if (target(BL_ID, @target_id, 22) != 22) L_FreeRecast; // 0x10 | 0x02 | 0x04
if (target(BL_ID, @target_id, 22) != 22) goto L_FreeRecast; // 0x10 | 0x02 | 0x04

set .@p, get(.max_radius, "rain") + 1;
set @ingravspell[5], @target_id; // store it because foreach overwrites it
Expand Down

0 comments on commit 9e95e25

Please sign in to comment.