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

Move static declaration into cpp file

This commit is contained in:
ζeh Matt
2021-10-03 21:13:04 +03:00
parent dc44d1f79d
commit cf7b4ded08
2 changed files with 8 additions and 8 deletions

View File

@@ -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)
{

View File

@@ -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: