mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make ClientInterface::statenames consistent with the state enum again
Fixes minetest.get_player_information segfault due to out of bounds access problems, when compiled as debug build.
This commit is contained in:
parent
9c44aace4f
commit
2c637ce1c2
2 changed files with 7 additions and 2 deletions
|
@ -38,10 +38,12 @@ const char *ClientInterface::statenames[] = {
|
|||
"Disconnecting",
|
||||
"Denied",
|
||||
"Created",
|
||||
"InitSent",
|
||||
"AwaitingInit2",
|
||||
"HelloSent",
|
||||
"InitDone",
|
||||
"DefinitionsSent",
|
||||
"Active"
|
||||
"Active",
|
||||
"SudoMode",
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue