diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-25 19:37:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-14 20:18:10 +0300 |
commit | c2f470837448add28465ba8015bded1d8e13b3f5 (patch) | |
tree | c2653505b00257851421c4e31a0d563e3ab2cb7d | |
parent | 65960e67de127dcb7d0da3f386a790666ac4f101 (diff) | |
download | hercules-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.c | 3 |
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' |