From 920e18c1b959780bbcea5d289c1c766239449776 Mon Sep 17 00:00:00 2001 From: mekolat Date: Thu, 16 Apr 2015 18:50:36 -0400 Subject: deprecate builtin changesex --- src/map/pc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/pc.cpp') diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 1e840ea..60f8da7 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -3520,8 +3520,7 @@ int pc_setparam(dumb_ptr sd, SP type, int val) } break; case SP::SEX: - // this is a really bad idea - sd->sex = static_cast(val); + chrif_char_ask_name(AccountId(), sd->status_key.name, 5, HumanTimeDiff()); break; case SP::WEIGHT: sd->weight = val; -- cgit v1.2.3-60-g2f50