summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 07:57:51 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 07:57:51 +0000
commit6064cd97c66f5471cebe3ab7d41711233ee711e3 (patch)
tree2952ec6b9a22d8e8ab0f1f0647c7ad164a3f257e /src/map/map.h
parent9b68ab5698a641e9ffa8b1f90cd0c5edfa6ce812 (diff)
downloadhercules-6064cd97c66f5471cebe3ab7d41711233ee711e3.tar.gz
hercules-6064cd97c66f5471cebe3ab7d41711233ee711e3.tar.bz2
hercules-6064cd97c66f5471cebe3ab7d41711233ee711e3.tar.xz
hercules-6064cd97c66f5471cebe3ab7d41711233ee711e3.zip
Fixed bugreport:3574 Ice Walls finally are able to stop mobs chasing caster, and they now act as walls meaning mobs will not turn around to attack you unless they were already chasing you
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15777 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index ceddec555..be90b6644 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -540,6 +540,13 @@ struct map_data {
int jexp; // map experience multiplicator
int bexp; // map experience multiplicator
int nocommand; //Blocks @/# commands for non-gms. [Skotlex]
+ /**
+ * Ice wall reference counter for bugreport:3574
+ * - since there are a thounsand mobs out there in a lot of maps checking on,
+ * - every targetting for icewall on attack path would just be a waste, so,
+ * - this counter allows icewall checking be only run when there is a actual ice wall on the map
+ **/
+ int icewall_num;
// Instance Variables
int instance_id;
int instance_src_map;