Properly sanitise strings from script commands
commit00d4d48939305529462aa565aacbc1902d15bc31
authorrubidium <rubidium@openttd.org>
Sun, 24 Nov 2013 19:46:16 +0000 (24 19:46 +0000)
committercirdan <cirdansw@gmail.com>
Sat, 14 Dec 2013 21:16:38 +0000 (14 22:16 +0100)
tree310aecdff006fd57151fe0c64ac67d6a453fe74d
parent08099c46c8ce90132221f8746554555479ab5062
Properly sanitise strings from script commands

(openttd r26092) -Fix [FS#5818]: prevent scripts from crashing
OpenTTD when they send text with command codes to user editable
texts such as sign and station names

(openttd r26093) -Fix (r26092): compilation error
src/command.cpp
src/script/api/script_object.cpp