mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix declaration
This commit is contained in:
parent
244025ec17
commit
82451b031a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue