mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
fix a few issues with object selection and track manage
This commit is contained in:
@@ -1049,7 +1049,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;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1058,5 +1058,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