mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 13:03:11 +01:00
Fix two more warnings
This commit is contained in:
@@ -938,7 +938,7 @@ console_command console_command_table[] = {
|
||||
{ "object_count", cc_object_count, "Shows the number of objects of each type in the scenario.", "object_count" },
|
||||
{ "twitch", cc_twitch, "Twitch API" },
|
||||
{ "reset_user_strings", cc_reset_user_strings, "Resets all user-defined strings, to fix incorrectly occurring 'Chosen name in use already' errors.", "reset_user_strings" },
|
||||
{ "fix_banner_count", cc_fix_banner_count, "Fixes incorrectly appearing 'Too many banners' error by marking every banner entry without a map element as null..", "fix_banner_count" }
|
||||
{ "fix_banner_count", cc_fix_banner_count, "Fixes incorrectly appearing 'Too many banners' error by marking every banner entry without a map element as null.", "fix_banner_count" }
|
||||
};
|
||||
|
||||
static int cc_windows(const utf8 **argv, int argc) {
|
||||
@@ -1038,7 +1038,7 @@ void console_execute_silent(const utf8 *src)
|
||||
bool validCommand = false;
|
||||
for (int i = 0; i < countof(console_command_table); i++) {
|
||||
if (strcmp(argv[0], console_command_table[i].command) == 0) {
|
||||
console_command_table[i].func(argv + 1, argc - 1);
|
||||
console_command_table[i].func((const utf8 **)(argv + 1), argc - 1);
|
||||
validCommand = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user