summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-05 22:23:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-05 22:26:06 +0300
commit6b230a4de27de394dd4e28662cd27070ab91c1f1 (patch)
tree58dba9c128bb7eb480472dd42d5e6b44401b74e3 /src/map/pc.c
parentdb82d35cb549aa305df53c4f0cbe5149062161e3 (diff)
downloadevol-hercules-6b230a4de27de394dd4e28662cd27070ab91c1f1.tar.gz
evol-hercules-6b230a4de27de394dd4e28662cd27070ab91c1f1.tar.bz2
evol-hercules-6b230a4de27de394dd4e28662cd27070ab91c1f1.tar.xz
evol-hercules-6b230a4de27de394dd4e28662cd27070ab91c1f1.zip
Replace struct map_session_data to TBL_PC.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index b4de8c4..78c6d5f 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -23,7 +23,7 @@
int langScriptId;
-int epc_readparam_pre(struct map_session_data* sd, int *type)
+int epc_readparam_pre(TBL_PC* sd, int *type)
{
if (*type == Const_ClientVersion)
{
@@ -36,7 +36,7 @@ int epc_readparam_pre(struct map_session_data* sd, int *type)
return 0;
}
-int epc_setregistry(struct map_session_data *sd, int64 *reg, int *val)
+int epc_setregistry(TBL_PC *sd, int64 *reg, int *val)
{
if (*reg == langScriptId)
{
@@ -71,7 +71,7 @@ int epc_setregistry(struct map_session_data *sd, int64 *reg, int *val)
hookStop(); \
}
-void epc_equipitem_pos(struct map_session_data *sd, struct item_data *id, int *posPtr)
+void epc_equipitem_pos(TBL_PC *sd, struct item_data *id, int *posPtr)
{
int pos = *posPtr;
@@ -110,7 +110,7 @@ void epc_equipitem_pos(struct map_session_data *sd, struct item_data *id, int *p
hookStop(); \
}
-void epc_unequipitem_pos(struct map_session_data *sd,
+void epc_unequipitem_pos(TBL_PC *sd,
int *nPtr __attribute__ ((unused)),
int *posPtr)
{
@@ -135,7 +135,7 @@ void epc_unequipitem_pos(struct map_session_data *sd,
#undef unequipPos
#undef unequipPos2
-bool epc_can_attack (struct map_session_data *sd, int *target_id)
+bool epc_can_attack (TBL_PC *sd, int *target_id)
{
if (!sd)
return false;
@@ -154,7 +154,7 @@ bool epc_can_attack (struct map_session_data *sd, int *target_id)
return true;
}
-int epc_takeitem(struct map_session_data *sd __attribute__ ((unused)),
+int epc_takeitem(TBL_PC *sd __attribute__ ((unused)),
struct flooritem_data *fitem)
{
if (!fitem)