diff options
-rw-r--r-- | world/map/npc/magic/_procedures.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/world/map/npc/magic/_procedures.txt b/world/map/npc/magic/_procedures.txt index 2d80de4a..b3f8b8c4 100644 --- a/world/map/npc/magic/_procedures.txt +++ b/world/map/npc/magic/_procedures.txt @@ -391,8 +391,7 @@ L_Summon: set .@qty, .@qty - 1; set .@realx, rand(.@x-.@r, .@x+.@r); // Pick spot around (x,y) set .@realy, rand(.@y-.@r, .@y+.@r); - if (!iscollision(.@map$, .@realx, .@realy)) // Spot ok? - goto L_SummonHere; + if !(iscollision(.@map$, .@realx, .@realy)) goto L_SummonHere; // Spot ok? set .@realx, .@x; // Fallback to (x, y) on collision (typically player x,y) set .@realy, .@y; goto L_SummonHere; |