summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-16 07:08:32 -0300
committershennetsind <ind@henn.et>2013-09-16 07:08:32 -0300
commit4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7 (patch)
tree3a606178f2cb073eba15ec840a5ed6c9f88175c7 /src/map/pc.h
parent58cd45757fff179ca5b381bcb777d50a5dea302d (diff)
downloadhercules-4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7.tar.gz
hercules-4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7.tar.bz2
hercules-4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7.tar.xz
hercules-4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7.zip
HPM: Unit.c Interface
Fully Interfaced Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 231f369d8..c8e7e17d5 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -645,8 +645,8 @@ enum equip_pos {
// Rune Knight Dragon
#define pc_isridingdragon(sd) ( (sd)->sc.option&OPTION_DRAGON )
-#define pc_stop_walking(sd, type) unit_stop_walking(&(sd)->bl, type)
-#define pc_stop_attack(sd) unit_stop_attack(&(sd)->bl)
+#define pc_stop_walking(sd, type) unit->stop_walking(&(sd)->bl, type)
+#define pc_stop_attack(sd) unit->stop_attack(&(sd)->bl)
//Weapon check considering dual wielding.
#define pc_check_weapontype(sd, type) ((type)&((sd)->status.weapon < MAX_WEAPON_TYPE? \