summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorgreenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-18 21:51:08 +0000
committergreenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-18 21:51:08 +0000
commit380cf32eb6eab01d1d6786f9a1255a68a5f9aa1a (patch)
tree238e6d2fdffe627e0e4e89e91aee1396dad9bc11 /src/map/mob.h
parent55cb028a87b11bd7cbc06a3fcdba4f77032fa6c6 (diff)
downloadhercules-380cf32eb6eab01d1d6786f9a1255a68a5f9aa1a.tar.gz
hercules-380cf32eb6eab01d1d6786f9a1255a68a5f9aa1a.tar.bz2
hercules-380cf32eb6eab01d1d6786f9a1255a68a5f9aa1a.tar.xz
hercules-380cf32eb6eab01d1d6786f9a1255a68a5f9aa1a.zip
Little optimization on MVP tombstone system, maybe fix insane CPU usage spikes(bugreport:5968).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16318 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index b7069c258..953bc287d 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -9,7 +9,7 @@
#include "map.h" // struct status_data, struct view_data, struct mob_skill
#include "status.h" // struct status data, struct status_change
#include "unit.h" // unit_stop_walking(), unit_stop_attack()
-
+#include "npc.h"
#define MAX_RANDOMMONSTER 4
@@ -175,7 +175,7 @@ struct mob_data {
**/
bool can_summon : 1;
- int tomb_nid;
+ struct npc_data *tomb_npc;
};