diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-11 11:57:38 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-11 11:57:38 +0000 |
commit | f0c1e95cef7c5e73686fa385838abc76cb585da3 (patch) | |
tree | 59e6f2f9efae651bf167c64278bdbaa80902dedf /src/map/mob.h | |
parent | 39d366440ac8f14fb9573345395ba5517dbeb25c (diff) | |
download | hercules-f0c1e95cef7c5e73686fa385838abc76cb585da3.tar.gz hercules-f0c1e95cef7c5e73686fa385838abc76cb585da3.tar.bz2 hercules-f0c1e95cef7c5e73686fa385838abc76cb585da3.tar.xz hercules-f0c1e95cef7c5e73686fa385838abc76cb585da3.zip |
yet another minor performance improvement. walking mobs no longer waste bandwidth by sending clif_move to nearby players if they haven't been damaged recently. (bandwidth&process time saver <3)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15857 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index be1c0220e..a93cb04e3 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -151,7 +151,7 @@ struct mob_data { int areanpc_id; //Required in OnTouchNPC (to avoid multiple area touchs) unsigned int bg_id; // BattleGround System - unsigned int next_walktime,last_thinktime,last_linktime,last_pcneartime; + unsigned int next_walktime,last_thinktime,last_linktime,last_pcneartime,dmgtick; short move_fail_count; short lootitem_count; short min_chase; |