diff options
author | rubidium <rubidium@openttd.org> | 2010-01-18 15:41:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-18 15:41:38 +0000 |
commit | b1bd1067032c51a8d88818488c924c82a8678454 (patch) | |
tree | baffff9722b0568418812cc9eff052edae02f715 /src/ai/ai_info_dummy.cpp | |
parent | a39a446e8faf99568eb8924535fd0034db00bb8e (diff) | |
download | openttd-b1bd1067032c51a8d88818488c924c82a8678454.tar.xz |
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
Diffstat (limited to 'src/ai/ai_info_dummy.cpp')
-rw-r--r-- | src/ai/ai_info_dummy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_info_dummy.cpp b/src/ai/ai_info_dummy.cpp index 08307ca7c..f38832310 100644 --- a/src/ai/ai_info_dummy.cpp +++ b/src/ai/ai_info_dummy.cpp @@ -94,7 +94,7 @@ void AI_CreateAIDummy(HSQUIRRELVM vm) /* 3) We translate the error message in the character format that Squirrel wants. * We can use the fact that the wchar string printing also uses %s to print * old style char strings, which is what was generated during the script generation. */ - const SQChar *sq_dummy_script = OTTD2FS(dummy_script); + const SQChar *sq_dummy_script = OTTD2SQ(dummy_script); /* And finally we load and run the script */ sq_pushroottable(vm); |