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

Also remove game_command_set_park_entrance_fee from new_game_command_table

This commit is contained in:
Gymnasiast
2019-05-14 18:39:14 +02:00
parent 4e23c42d38
commit 5e39640837
3 changed files with 1 additions and 14 deletions

View File

@@ -1195,7 +1195,7 @@ GAME_COMMAND_POINTER* new_game_command_table[GAME_COMMAND_COUNT] = {
nullptr,
nullptr,
nullptr,
game_command_set_park_entrance_fee,
nullptr,
nullptr,
nullptr,
nullptr,

View File

@@ -65,15 +65,6 @@ void park_set_entrance_fee(money32 fee)
auto gameAction = SetParkEntranceFeeAction((money16)fee);
GameActions::Execute(&gameAction);
}
void game_command_set_park_entrance_fee(
[[maybe_unused]] int* eax, [[maybe_unused]] int* ebx, [[maybe_unused]] int* ecx, [[maybe_unused]] int* edx,
[[maybe_unused]] int* esi, int* edi, [[maybe_unused]] int* ebp)
{
money16 fee = (money16)(*edi & 0xFFFF);
auto gameAction = SetParkEntranceFeeAction(fee);
GameActions::Execute(&gameAction);
}
#pragma endregion
#pragma region RideCreateAction

View File

@@ -125,10 +125,6 @@ void park_set_open(bool open);
int32_t park_entrance_get_index(int32_t x, int32_t y, int32_t z);
void park_set_name(const char* name);
void park_set_entrance_fee(money32 value);
void game_command_set_park_entrance_fee(
int32_t* eax, int32_t* ebx, int32_t* ecx, int32_t* edx, int32_t* esi, int32_t* edi, int32_t* ebp);
money16 park_get_entrance_fee();
bool park_ride_prices_unlocked();