From cf7b4ded0808fdc92e41a172db1d198d4e366967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Sun, 3 Oct 2021 21:13:04 +0300 Subject: [PATCH] Move static declaration into cpp file --- src/openrct2/actions/StaffHireNewAction.cpp | 8 ++++++++ src/openrct2/actions/StaffHireNewAction.h | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/openrct2/actions/StaffHireNewAction.cpp b/src/openrct2/actions/StaffHireNewAction.cpp index 7c5ba2507b..de91f58366 100644 --- a/src/openrct2/actions/StaffHireNewAction.cpp +++ b/src/openrct2/actions/StaffHireNewAction.cpp @@ -26,6 +26,14 @@ #include "../world/Park.h" #include "../world/Sprite.h" +/* rct2: 0x009929FC */ +static constexpr const PeepSpriteType spriteTypes[] = { + PeepSpriteType::Handyman, + PeepSpriteType::Mechanic, + PeepSpriteType::Security, + PeepSpriteType::EntertainerPanda, +}; + StaffHireNewActionResult::StaffHireNewActionResult() : GameActions::Result(GameActions::Status::Ok, STR_CANT_HIRE_NEW_STAFF) { diff --git a/src/openrct2/actions/StaffHireNewAction.h b/src/openrct2/actions/StaffHireNewAction.h index 47c9d6bb4c..bd4d94dc65 100644 --- a/src/openrct2/actions/StaffHireNewAction.h +++ b/src/openrct2/actions/StaffHireNewAction.h @@ -12,14 +12,6 @@ #include "../peep/Staff.h" #include "GameAction.h" -/* rct2: 0x009929FC */ -static constexpr const PeepSpriteType spriteTypes[] = { - PeepSpriteType::Handyman, - PeepSpriteType::Mechanic, - PeepSpriteType::Security, - PeepSpriteType::EntertainerPanda, -}; - class StaffHireNewActionResult final : public GameActions::Result { public: