1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Fix compilation of SignSetNameAction.hpp

This header was missing some includes that it depends on. Some were included by other headers.
This commit is contained in:
Hielke Morsink
2018-06-09 11:27:46 +02:00
parent 388c2f9cb6
commit 08035f42f7

View File

@@ -17,14 +17,17 @@
#pragma once
#include "../Context.h"
#include "../Diagnostic.h"
#include "../common.h"
#include "../drawing/Drawing.h"
#include "../localisation/Localisation.h"
#include "../localisation/StringIds.h"
#include "../ui/UiContext.h"
#include "../world/Sprite.h"
#include "../ride/Ride.h"
#include "../world/Banner.h"
#include "GameAction.h"
#include <string>
struct SignSetNameAction : public GameActionBase<GAME_COMMAND_SET_SIGN_NAME, GameActionResult>
{
private:
@@ -32,10 +35,10 @@ private:
std::string _name;
public:
SignSetNameAction() {}
SignSetNameAction() = default;
SignSetNameAction(sint32 bannerIndex, const std::string& name)
: _bannerIndex(bannerIndex),
_name(name)
: _bannerIndex(bannerIndex)
, _name(name)
{
}