summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-02 02:05:20 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-02 02:05:20 +0000
commit34a0a33b55454561c73188a7c2fade46288d8341 (patch)
tree0d110612cb23e1d14b0ef5dc35b64bf1b15e8405 /src
parentcdffb7ceb30953ecec67e9e7faa6f3649da07634 (diff)
downloadhercules-34a0a33b55454561c73188a7c2fade46288d8341.tar.gz
hercules-34a0a33b55454561c73188a7c2fade46288d8341.tar.bz2
hercules-34a0a33b55454561c73188a7c2fade46288d8341.tar.xz
hercules-34a0a33b55454561c73188a7c2fade46288d8341.zip
- Fixed pc_disguise not allowing you to "redisguise".
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6442 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index da385ffcb..b58c7d624 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1092,7 +1092,7 @@ int pc_checkweighticon(struct map_session_data *sd)
int pc_disguise(struct map_session_data *sd, int class_) {
if (!class_ && !sd->disguise)
return 0;
- if (class_ && (sd->disguise || pc_isriding(sd)))
+ if (class_ && (sd->disguise == class_ || pc_isriding(sd)))
return 0;
pc_stop_walking(sd, 0);