summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 04:10:41 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 04:10:41 +0000
commit96145e78a56a090e60a77c09147d2cb0991fda2d (patch)
tree174455953b53d4e37c4e26ef8ada4989659c6f8d /src/map/map.h
parentc31d5fe703c5ab30a398ef7da9059f4e20b7891d (diff)
downloadhercules-96145e78a56a090e60a77c09147d2cb0991fda2d.tar.gz
hercules-96145e78a56a090e60a77c09147d2cb0991fda2d.tar.bz2
hercules-96145e78a56a090e60a77c09147d2cb0991fda2d.tar.xz
hercules-96145e78a56a090e60a77c09147d2cb0991fda2d.zip
- Multiple optimizations to the unit_data auto-chase upgrade, also simplified the mob and pet ai routines.
- Simplified the walk routines to half the number of timers required for walking. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5982 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 4380cd9f5..50f8693b7 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -357,9 +357,8 @@ struct unit_data {
short skillid,skilllv;
int skilltarget;
int skilltimer;
- int attacktarget;
+ int target;
int attacktimer;
- int walktarget;
int walktimer;
int chaserange;
unsigned int attackabletime;