summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-22 09:00:57 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-22 09:00:57 +0000
commit5f857bae116433a2a0fd38b8c3539352c5453f7a (patch)
tree52e60dcc8ba4ee1a7ddd2475eed6b63c977709b4 /src/map/intif.c
parentb5bbb9cc74ef82312be3f45b78634e238e4941c8 (diff)
downloadhercules-5f857bae116433a2a0fd38b8c3539352c5453f7a.tar.gz
hercules-5f857bae116433a2a0fd38b8c3539352c5453f7a.tar.bz2
hercules-5f857bae116433a2a0fd38b8c3539352c5453f7a.tar.xz
hercules-5f857bae116433a2a0fd38b8c3539352c5453f7a.zip
Fixed mob AI code iterating over non-mob objects without checking, when monster_ai flag 0x20 is set (caused by r11943)
Cleaned up macros that wrap unit_stop_attack() (bugreport:357) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11957 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index bcb1eef2a..49791ed94 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -1032,6 +1032,7 @@ int intif_parse_LoadGuildStorage(int fd)
gstor=guild2storage(guild_id);
if(!gstor) {
ShowWarning("intif_parse_LoadGuildStorage: error guild_id %d not exist\n",guild_id);
+ return 1;
}
if (gstor->storage_status == 1) { // Already open.. lets ignore this update
ShowWarning("intif_parse_LoadGuildStorage: storage received for a client already open (User %d:%d)\n", sd->status.account_id, sd->status.char_id);