mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
Introduce Limits headers. (#15329)
* Move RCT12 limits to seperate file and namespace * Remove prefix from constants * Add rct1 limits file * Rename constants to remove prefix * Add RCT2 limits file * Remove RCT2 prefix from constants * Move constant to correct header * Fix rebase mistakes * Drop prefix
This commit is contained in:
@@ -397,7 +397,7 @@ void game_convert_strings_to_rct2(rct_s6_data* s6)
|
||||
{
|
||||
if (!str_is_null_or_empty(userString))
|
||||
{
|
||||
utf8_to_rct2_self(userString, RCT12_USER_STRING_MAX_LENGTH);
|
||||
utf8_to_rct2_self(userString, RCT12::Limits::MaxUserStringLength);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user