From bb90bf6cc9de4b73400abd5db3dba557ec2f4158 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 1 Jun 2006 00:23:27 +0000 Subject: - Some small cleanups on status_calc_pet - Fixed one valgrind error report. - Added back the Freeze/Petrify adjustments of -50%def and +25%mdef (when where these lost?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6903 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.c') 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; -- cgit v1.2.3-60-g2f50