1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

fix issue with same price throughout park

This commit is contained in:
zsilencer
2016-01-22 17:19:15 -07:00
parent 62c1780d65
commit 6d81369e1a

View File

@@ -658,7 +658,7 @@ void park_set_open(int open)
*/
void game_command_set_park_open(int* eax, int* ebx, int* ecx, int* edx, int* esi, int* edi, int* ebp)
{
if (*ebx & GAME_COMMAND_FLAG_APPLY) {
if (!(*ebx & GAME_COMMAND_FLAG_APPLY)) {
*ebx = 0;
return;
}