From 30eb844c7f7b99435d1da49e4560e5b57f3c726e Mon Sep 17 00:00:00 2001 From: ZehMatt Date: Sun, 22 Apr 2018 19:15:05 +0200 Subject: [PATCH] Remove game_command_remove_wall and references. --- src/openrct2/Game.cpp | 2 +- src/openrct2/actions/GameActionCompat.cpp | 11 ----------- src/openrct2/world/Map.h | 1 - 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/openrct2/Game.cpp b/src/openrct2/Game.cpp index c0eb7346f2..3d1a859832 100644 --- a/src/openrct2/Game.cpp +++ b/src/openrct2/Game.cpp @@ -1743,7 +1743,7 @@ GAME_COMMAND_POINTER * new_game_command_table[GAME_COMMAND_COUNT] = { game_command_set_park_entrance_fee, nullptr, game_command_place_wall, - game_command_remove_wall, + nullptr, game_command_place_large_scenery, game_command_remove_large_scenery, nullptr, diff --git a/src/openrct2/actions/GameActionCompat.cpp b/src/openrct2/actions/GameActionCompat.cpp index d02cba5f11..ec0e948169 100644 --- a/src/openrct2/actions/GameActionCompat.cpp +++ b/src/openrct2/actions/GameActionCompat.cpp @@ -345,14 +345,3 @@ Guard::Assert(false, "GAME_COMMAND_SET_MAZE_TRACK DEPRECATED"); } #pragma endregion - -#pragma region RemoveWall - /** - * - * rct2: 0x006E5597 - */ - void game_command_remove_wall(sint32 * eax, sint32 * ebx, sint32 * ecx, sint32 * edx, sint32 * esi, sint32 * edi, sint32 * ebp) - { - Guard::Assert(false, "GAME_COMMAND_REMOVE_WALL DEPRECATED"); - } -#pragma endregion diff --git a/src/openrct2/world/Map.h b/src/openrct2/world/Map.h index 853fd4b3d2..ad4617d2d3 100644 --- a/src/openrct2/world/Map.h +++ b/src/openrct2/world/Map.h @@ -199,7 +199,6 @@ void game_command_smooth_land(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx void game_command_raise_water(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx, sint32* esi, sint32* edi, sint32* ebp); void game_command_lower_water(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx, sint32* esi, sint32* edi, sint32* ebp); void game_command_set_water_height(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx, sint32* esi, sint32* edi, sint32* ebp); -void game_command_remove_wall(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx, sint32* esi, sint32* edi, sint32* ebp); void game_command_place_banner(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx, sint32* esi, sint32* edi, sint32* ebp); void game_command_place_scenery(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx, sint32* esi, sint32* edi, sint32* ebp); void game_command_place_wall(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx, sint32* esi, sint32* edi, sint32* ebp);