mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Merge branch 'object-selection-window' into develop
This commit is contained in:
@@ -1055,7 +1055,7 @@ rct_track_design *track_get_info(int index, uint8** preview)
|
||||
*/
|
||||
int track_rename(const char *text)
|
||||
{
|
||||
return (RCT2_CALLPROC_X(0x006D3664, 0, 0, 0, (int)text, 0, 0, 0) & 0x100) != 0;
|
||||
return (RCT2_CALLPROC_X(0x006D3664, 0, 0, 0, 0, 0, (int)text, 0) & 0x100) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1064,5 +1064,5 @@ int track_rename(const char *text)
|
||||
*/
|
||||
int track_delete()
|
||||
{
|
||||
return (RCT2_CALLPROC_X(0x006D3761, 0, 0, 0, 0, 0, 0, 0) & 0x100) != 0;
|
||||
return (RCT2_CALLPROC_X(0x006D3761, 0, 0, 0, 0, 0, 0, 0) & 0x100) == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user