From 54205b1071d55bdd6fef570b6880e3b1970be50d Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 30 Aug 2012 20:50:28 +0000 Subject: Fixed bugreport:6576 changed mvptomb_ to rely on the id rather than the pointer (the tombstone might be unloaded before the monster causing a issue), also removed a unused #define git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16721 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/map/mob.h') diff --git a/src/map/mob.h b/src/map/mob.h index adbf65d5c..c33d82501 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -175,8 +175,10 @@ struct mob_data { * Used to flag summon deletions, saves a worth amount of memory **/ bool can_summon; - - struct npc_data *tomb_npc; + /** + * MvP Tombstone NPC ID + **/ + int tomb_nid; }; -- cgit v1.2.3-60-g2f50