mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 01:55:19 -04:00
Extra announcements: Don't read invalid memory, make IDs consistent
This commit is contained in:
parent
5933eb715c
commit
6e53b6fbd4
@ -19,7 +19,7 @@
|
||||
#include "Options.h"
|
||||
#include "Drawer2D.h"
|
||||
|
||||
static char msgs[10][STRING_SIZE];
|
||||
static char msgs[12][STRING_SIZE];
|
||||
cc_string Chat_Status[4] = { String_FromArray(msgs[0]), String_FromArray(msgs[1]), String_FromArray(msgs[2]), String_FromArray(msgs[3]) };
|
||||
cc_string Chat_BottomRight[3] = { String_FromArray(msgs[4]), String_FromArray(msgs[5]), String_FromArray(msgs[6]) };
|
||||
cc_string Chat_ClientStatus[2] = { String_FromArray(msgs[7]), String_FromArray(msgs[8]) };
|
||||
|
@ -17,8 +17,8 @@ enum MsgType {
|
||||
MSG_TYPE_BOTTOMRIGHT_2 = 12,
|
||||
MSG_TYPE_BOTTOMRIGHT_3 = 13,
|
||||
MSG_TYPE_ANNOUNCEMENT = 100,
|
||||
MSG_TYPE_BIGANNOUNCEMENT = 150,
|
||||
MSG_TYPE_SMALLANNOUNCEMENT = 200,
|
||||
MSG_TYPE_BIGANNOUNCEMENT = 101,
|
||||
MSG_TYPE_SMALLANNOUNCEMENT = 102,
|
||||
MSG_TYPE_CLIENTSTATUS_1 = 256, /* Cuboid messages */
|
||||
MSG_TYPE_CLIENTSTATUS_2 = 257 /* Tab list matching names */
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user