mirror of https://github.com/OpenRCT2/OpenRCT2.git
Forbid usage of uint8_t* in formatter::Add
This commit is contained in:
parent
0272777d13
commit
5f4e1ba344
|
@ -996,7 +996,7 @@ static void window_title_editor_scrollpaint_commands(rct_window* w, rct_drawpixe
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ft.Add<uint8_t*>(command->SpriteName);
|
ft.Add<utf8*>(command->SpriteName);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case TITLE_SCRIPT_WAIT:
|
case TITLE_SCRIPT_WAIT:
|
||||||
|
|
|
@ -140,7 +140,6 @@ public:
|
||||||
std::is_same_v<TSpecified, int32_t> ||
|
std::is_same_v<TSpecified, int32_t> ||
|
||||||
std::is_same_v<TSpecified, money32> ||
|
std::is_same_v<TSpecified, money32> ||
|
||||||
std::is_same_v<TSpecified, rct_string_id> ||
|
std::is_same_v<TSpecified, rct_string_id> ||
|
||||||
std::is_same_v<TSpecified, uint8_t*> ||
|
|
||||||
std::is_same_v<TSpecified, uint16_t> ||
|
std::is_same_v<TSpecified, uint16_t> ||
|
||||||
std::is_same_v<TSpecified, uint32_t> ||
|
std::is_same_v<TSpecified, uint32_t> ||
|
||||||
std::is_same_v<TSpecified, utf8*> ||
|
std::is_same_v<TSpecified, utf8*> ||
|
||||||
|
|
Loading…
Reference in New Issue