summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-28 05:05:48 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-28 05:05:48 +0000
commitbeb675a9eb04cde7491e2a93b40a3e19af84393f (patch)
tree7f9a34d307a8d71cf8c3ed98cf609fbb6ed00ae1 /src/map/atcommand.c
parent11cdf0d8533f6e27922f423ba645ddf0ff945c42 (diff)
downloadhercules-beb675a9eb04cde7491e2a93b40a3e19af84393f.tar.gz
hercules-beb675a9eb04cde7491e2a93b40a3e19af84393f.tar.bz2
hercules-beb675a9eb04cde7491e2a93b40a3e19af84393f.tar.xz
hercules-beb675a9eb04cde7491e2a93b40a3e19af84393f.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@832 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 95744e653..60c49774e 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2729,13 +2729,8 @@ int atcommand_dye(const int fd, struct map_session_data* sd, const char* command
}
if (cloth_color >= MIN_CLOTH_COLOR && cloth_color <= MAX_CLOTH_COLOR) {
- if (cloth_color != 0 && sd->status.sex == 1 && (sd->status.class == 12 || sd->status.class == 17)) {
- clif_displaymessage(fd, msg_table[35]); // You can't use this command with this class.
- return -1;
- } else {
- pc_changelook(sd, LOOK_CLOTHES_COLOR, cloth_color);
- clif_displaymessage(fd, msg_table[36]); // Appearence changed.
- }
+ pc_changelook(sd, LOOK_CLOTHES_COLOR, cloth_color);
+ clif_displaymessage(fd, msg_table[36]); // Appearence changed.
} else {
clif_displaymessage(fd, msg_table[37]); // An invalid number was specified.
return -1;