summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-09 16:52:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-09 16:52:24 +0000
commitf7a7b1d041ff396d96468be30bc4914e626979b3 (patch)
treeeadb9ef5f012dc1806186edeea43bb54e793a7ea /src/map/status.c
parent49000e689a2516db20060d88871762f5a3bcac39 (diff)
downloadhercules-f7a7b1d041ff396d96468be30bc4914e626979b3.tar.gz
hercules-f7a7b1d041ff396d96468be30bc4914e626979b3.tar.bz2
hercules-f7a7b1d041ff396d96468be30bc4914e626979b3.tar.xz
hercules-f7a7b1d041ff396d96468be30bc4914e626979b3.zip
- Moved perfect_hiding from state to special_state, so that it clears out when you remove your pet.
- Probably fixed the Taekwon Rest skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8687 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 39530e5d5..069e02f64 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1082,7 +1082,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
if (pc_isinvisible(sd))
return 0;
if (tsc->option&hide_flag && !(status->mode&MD_BOSS)
- && (sd->state.perfect_hiding || !(
+ && (sd->special_state.perfect_hiding || !(
status->race == RC_INSECT ||
status->race == RC_DEMON ||
status->mode&MD_DETECTOR
@@ -1137,7 +1137,7 @@ int status_check_visibility(struct block_list *src, struct block_list *target)
{
if (tsc->option&(OPTION_HIDE|OPTION_CLOAK|OPTION_CHASEWALK)
&& !(status->mode&MD_BOSS) && (
- ((TBL_PC*)target)->state.perfect_hiding || !(
+ ((TBL_PC*)target)->special_state.perfect_hiding || !(
status->race == RC_INSECT ||
status->race == RC_DEMON ||
status->mode&MD_DETECTOR