Fix declaration

This commit is contained in:
ZehMatt 2021-08-09 19:46:52 +03:00
parent 244025ec17
commit 82451b031a
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ namespace OpenRCT2::Scripting
return obj.Take();
}
template<> TrackColour FromDuk(const DukValue& s)
template<> inline TrackColour FromDuk(const DukValue& s)
{
TrackColour result{};
result.main = AsOrDefault(s["main"], 0);
@ -47,7 +47,7 @@ namespace OpenRCT2::Scripting
return obj.Take();
}
template<> VehicleColour FromDuk(const DukValue& s)
template<> inline VehicleColour FromDuk(const DukValue& s)
{
VehicleColour result{};
result.Body = AsOrDefault(s["body"], 0);