From b34acd1a97e7f087882675e812fda04d303dc6e0 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 15 Jan 2013 15:27:59 -0800 Subject: Remove PC/mob disguises and hard-coded classes --- src/map/script.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/map/script.cpp') 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); -- cgit v1.2.3-60-g2f50