diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index dfc10b2ac..3991fb357 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -638,7 +638,7 @@ int mob_spawn (struct mob_data *md) { //Monster can be spawned on an area. short x, y, xs, ys; if (md->spawn->x == 0 && md->spawn->y == 0) - xs = ys = -1; + x = y = xs = ys = -1; else { x = md->spawn->x; y = md->spawn->y; |