summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-14 19:03:48 +0100
committerHaru <haru@dotalux.com>2015-12-28 18:35:58 +0100
commit943daa9da6610bd900aee9134951561e8e663a93 (patch)
treef3d20df4bb9d4cab8225ef59378b10e116ba6b47 /src/map/script.c
parent296e6c04a4c1a01a233c937bd198a31fa849f49c (diff)
downloadhercules-943daa9da6610bd900aee9134951561e8e663a93.tar.gz
hercules-943daa9da6610bd900aee9134951561e8e663a93.tar.bz2
hercules-943daa9da6610bd900aee9134951561e8e663a93.tar.xz
hercules-943daa9da6610bd900aee9134951561e8e663a93.zip
Standardized (source) mob_id enum
- MOBID_ constant names now follow the Mob DB spritenames. - The following names were changed: * MOBID_EMPERIUM => MOBID_EMPELIUM * MOBID_TREAS01 => MOBID_TREASURE_BOX1 * MOBID_TREAS40 => MOBID_TREASURE_BOX40 * MOBID_BARRICADE1 => MOBID_BARRICADE * MOBID_BARRICADE2 => MOBID_BARRICADE_ * MOBID_GUARIDAN_STONE1 => MOBID_S_EMPEL_1 * MOBID_GUARIDAN_STONE2 => MOBID_S_EMPEL_2 * MOBID_FOOD_STOR => MOBID_OBJ_A * MOBID_BLUE_CRYST => MOBID_OBJ_A2 * MOBID_PINK_CRYST => MOBID_OBJ_B2 * MOBID_TREAS41 => MOBID_TREASURE_BOX41 * MOBID_TREAS49 => MOBID_TREASURE_BOX49 - Added several missing items Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index b29794ec3..591bca68f 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -12121,7 +12121,7 @@ int buildin_maprespawnguildid_sub_mob(struct block_list *bl,va_list ap)
{
struct mob_data *md=(struct mob_data *)bl;
- if(!md->guardian_data && md->class_ != MOBID_EMPERIUM)
+ if (md->guardian_data == NULL && md->class_ != MOBID_EMPELIUM)
status_kill(bl);
return 0;