diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-28 11:48:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-28 11:48:55 -0300 |
commit | 7f97971c1585056790187999228bffeb4dda7b7c (patch) | |
tree | 8a56cdf5cf91d2428685a9e9f1cc0334a2ae83d6 | |
parent | b0f5ccea2c185a4cceb694c8b307424c3d694f1c (diff) | |
download | hercules-7f97971c1585056790187999228bffeb4dda7b7c.tar.gz hercules-7f97971c1585056790187999228bffeb4dda7b7c.tar.bz2 hercules-7f97971c1585056790187999228bffeb4dda7b7c.tar.xz hercules-7f97971c1585056790187999228bffeb4dda7b7c.zip |
[TMW2] Do not fail silently if specified message number is not found.
-rw-r--r-- | src/map/atcommand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 364d84662..c55a4a1b1 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -126,6 +126,7 @@ static const char *atcommand_msg(int msg_number) if(atcommand->msg_table[0][msg_number] != NULL && atcommand->msg_table[0][msg_number][0] != '\0') return atcommand->msg_table[0][msg_number]; + ShowWarning("show_msg: Invalid message number %d", msg_number); return "??"; } |