summaryrefslogtreecommitdiff
path: root/src/map/script.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-01-15 15:27:59 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-01-17 17:35:36 -0800
commitb34acd1a97e7f087882675e812fda04d303dc6e0 (patch)
tree59a3f0779027a5020fff04661ce0373feb623361 /src/map/script.cpp
parentf909528c7e64ac7180d9a544f12912efd0867a67 (diff)
downloadtmwa-b34acd1a97e7f087882675e812fda04d303dc6e0.tar.gz
tmwa-b34acd1a97e7f087882675e812fda04d303dc6e0.tar.bz2
tmwa-b34acd1a97e7f087882675e812fda04d303dc6e0.tar.xz
tmwa-b34acd1a97e7f087882675e812fda04d303dc6e0.zip
Remove PC/mob disguises and hard-coded classes
Diffstat (limited to 'src/map/script.cpp')
-rw-r--r--src/map/script.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/script.cpp b/src/map/script.cpp
index d8c7c51..e774080 100644
--- a/src/map/script.cpp
+++ b/src/map/script.cpp
@@ -3307,15 +3307,11 @@ void builtin_changesex(ScriptState *st)
{
sd->status.sex = 1;
sd->sex = 1;
- if (sd->status.pc_class == 20 || sd->status.pc_class == 4021)
- sd->status.pc_class -= 1;
}
else if (sd->status.sex == 1)
{
sd->status.sex = 0;
sd->sex = 0;
- if (sd->status.pc_class == 19 || sd->status.pc_class == 4020)
- sd->status.pc_class += 1;
}
chrif_char_ask_name(-1, sd->status.name, 5, 0, 0, 0, 0, 0, 0); // type: 5 - changesex
chrif_save(sd);