summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-30 20:50:28 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-30 20:50:28 +0000
commit54205b1071d55bdd6fef570b6880e3b1970be50d (patch)
treeda28e96091ba015d2b18685acbfec7f5c4d0bcfa /src/map/mob.h
parent4a66e3c8678f844938f73f6af49dae5bc0eb588c (diff)
downloadhercules-54205b1071d55bdd6fef570b6880e3b1970be50d.tar.gz
hercules-54205b1071d55bdd6fef570b6880e3b1970be50d.tar.bz2
hercules-54205b1071d55bdd6fef570b6880e3b1970be50d.tar.xz
hercules-54205b1071d55bdd6fef570b6880e3b1970be50d.zip
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
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h6
1 files changed, 4 insertions, 2 deletions
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;
};