Files
@ r28506:4fd07c3f848d
Branch filter:
Location: cpp/openttd-patchpack/source/src/game/game_text.hpp
r28506:4fd07c3f848d
2.7 KiB
text/x-c++hdr
Fix: [Script] Improve ScriptText validation (#11721)
The validation is now done in two steps:
- First we get the list of parameters in the same order they used to be in encoded string
- Then we validate the parameter types like FormatString would use them while encoding the string
The validation is now done in two steps:
- First we get the list of parameters in the same order they used to be in encoded string
- Then we validate the parameter types like FormatString would use them while encoding the string