Files
OpenRCT2-Web/src/openrct2/object/SceneryObject.cpp
T

19 lines
645 B
C++
Raw Normal View History

2017-12-14 18:43:59 +00:00
/*****************************************************************************
2020-07-21 15:04:34 +02:00
* Copyright (c) 2014-2020 OpenRCT2 developers
2018-06-15 14:07:34 +02:00
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
2017-12-14 18:43:59 +00:00
#include "SceneryObject.h"
2018-06-22 23:03:20 +02:00
void SceneryObject::SetPrimarySceneryGroup(const std::string& s)
2017-12-14 18:43:59 +00:00
{
if (!s.empty())
{
2020-08-12 23:05:23 +01:00
auto sgEntry = ParseObjectEntry(s);
2017-12-14 18:43:59 +00:00
SetPrimarySceneryGroup(&sgEntry);
}
}