summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-25 19:37:28 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-14 20:18:10 +0300
commitc2f470837448add28465ba8015bded1d8e13b3f5 (patch)
treec2653505b00257851421c4e31a0d563e3ab2cb7d
parent65960e67de127dcb7d0da3f386a790666ac4f101 (diff)
downloadhercules-c2f470837448add28465ba8015bded1d8e13b3f5.tar.gz
hercules-c2f470837448add28465ba8015bded1d8e13b3f5.tar.bz2
hercules-c2f470837448add28465ba8015bded1d8e13b3f5.tar.xz
hercules-c2f470837448add28465ba8015bded1d8e13b3f5.zip
Add missing enum status for function char_creation_failed
-rw-r--r--src/char/char.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index b3169c79e..b7e1d8435 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -4694,7 +4694,8 @@ static void char_creation_failed(int fd, int result)
/* Others I found [Ind] */
/* 0x02 = Symbols in Character Names are forbidden */
/* 0x03 = You are not eligible to open the Character Slot. */
- /* 0x0B = This service is only available for premium users. */
+ /* 0x0B = This service is only available for premium users. */
+ /* 0x0C = Character name is invalid. */
switch (result) {
case -1: WFIFOB(fd,2) = 0x00; break; // 'Charname already exists'
case -2: WFIFOB(fd,2) = 0xFF; break; // 'Char creation denied'