summaryrefslogtreecommitdiff
path: root/src/script/script_storage.hpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-30 22:59:23 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit57b82e2e99aa30a649d1fd80f192ccf5338dc7c4 (patch)
treeb059cf0f22ab065166dd3b0391772b6e83aef49b /src/script/script_storage.hpp
parent3e85e833a707e6b781d00eae09c9465bacbf1d69 (diff)
downloadopenttd-57b82e2e99aa30a649d1fd80f192ccf5338dc7c4.tar.xz
Codechange: Don't use globals for story/goal/sign/group command proc return values.
Diffstat (limited to 'src/script/script_storage.hpp')
-rw-r--r--src/script/script_storage.hpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/script/script_storage.hpp b/src/script/script_storage.hpp
index b8d1038a0..f95eb7e71 100644
--- a/src/script/script_storage.hpp
+++ b/src/script/script_storage.hpp
@@ -50,11 +50,6 @@ private:
CommandDataBuffer last_cmd_ret; ///< The extra data returned by the last command.
VehicleID new_vehicle_id; ///< The ID of the new Vehicle.
- SignID new_sign_id; ///< The ID of the new Sign.
- GroupID new_group_id; ///< The ID of the new Group.
- GoalID new_goal_id; ///< The ID of the new Goal.
- StoryPageID new_story_page_id; ///< The ID of the new StoryPage.
- StoryPageID new_story_page_element_id; ///< The ID of the new StoryPageElement.
std::vector<int> callback_value; ///< The values which need to survive a callback.
@@ -79,11 +74,6 @@ public:
last_tile (INVALID_TILE),
last_cmd (CMD_END),
new_vehicle_id (0),
- new_sign_id (0),
- new_group_id (0),
- new_goal_id (0),
- new_story_page_id (0),
- new_story_page_element_id(0),
/* calback_value (can't be set) */
road_type (INVALID_ROADTYPE),
rail_type (INVALID_RAILTYPE),