diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-01 00:23:27 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-01 00:23:27 +0000 |
commit | bb90bf6cc9de4b73400abd5db3dba557ec2f4158 (patch) | |
tree | 9c4f20d2fc1f035c4d818f6cff899606e76cd527 /src/map/mob.c | |
parent | 262fc3a9305a930378746a7146694bf08a2027d8 (diff) | |
download | hercules-bb90bf6cc9de4b73400abd5db3dba557ec2f4158.tar.gz hercules-bb90bf6cc9de4b73400abd5db3dba557ec2f4158.tar.bz2 hercules-bb90bf6cc9de4b73400abd5db3dba557ec2f4158.tar.xz hercules-bb90bf6cc9de4b73400abd5db3dba557ec2f4158.zip |
- 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
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; |