summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-24 21:29:01 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-24 21:29:01 +0000
commit519949ae8108400c33ff3981227155830070f2a0 (patch)
tree23060bd60cc73e2f30488fd7df03fb35bdc4d45f /src/map/pc.h
parente6f3fda8b58a50c9372a948193ef1977bb8c5b45 (diff)
downloadhercules-519949ae8108400c33ff3981227155830070f2a0.tar.gz
hercules-519949ae8108400c33ff3981227155830070f2a0.tar.bz2
hercules-519949ae8108400c33ff3981227155830070f2a0.tar.xz
hercules-519949ae8108400c33ff3981227155830070f2a0.zip
- Made the pc_deleteinvincibletimer function a define so it auto-checks for the timer value.
- Fixed a missing tab in the skill require info of TWILIGHT3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9709 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 06d8198f9..f95a27085 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -279,7 +279,9 @@ extern struct skill_tree_entry skill_tree[MAX_PC_CLASS][MAX_SKILL_TREE];
int pc_read_gm_account(int fd);
int pc_setinvincibletimer(struct map_session_data *sd,int);
-int pc_delinvincibletimer(struct map_session_data *sd);
+void pc_delinvincibletimer_sub(struct map_session_data *sd);
+#define pc_delinvincibletimer(sd) if ((sd)->invincible_timer != INVALID_TIMER) pc_delinvincibletimer_sub(sd)
+
int pc_addspiritball(struct map_session_data *sd,int,int);
int pc_delspiritball(struct map_session_data *sd,int,int);
void pc_addfame(struct map_session_data *sd,int count);