aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/scripts.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-21 22:09:12 -0500
committerPaul Gilbert2015-01-21 22:09:12 -0500
commit16a5a99c3aa615f5b69a8c4c1df987c906973990 (patch)
tree166cb77f169ac7f4fb4cfdf08f251ecfe0a740ad /engines/xeen/scripts.cpp
parent1b264ed299fd87262c2cf228418ec606fdf75646 (diff)
downloadscummvm-rg350-16a5a99c3aa615f5b69a8c4c1df987c906973990.tar.gz
scummvm-rg350-16a5a99c3aa615f5b69a8c4c1df987c906973990.tar.bz2
scummvm-rg350-16a5a99c3aa615f5b69a8c4c1df987c906973990.zip
XEEN: Fix strings used by newly added script commands
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r--engines/xeen/scripts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 44b5cb325e..3bf7a3104c 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -188,7 +188,7 @@ void Scripts::doOpcode(Opcode opcode, Common::Array<byte> &params) {
*/
void Scripts::cmdDisplay1(Common::Array<byte> &params) {
Screen &screen = *_vm->_screen;
- Common::String msg = Common::String::format("\r\x03c%s", _paramText.c_str());
+ Common::String msg = Common::String::format("\r\x03""c%s", _paramText.c_str());
screen._windows[12].close();
if (screen._windows[38]._enabled)
@@ -205,7 +205,7 @@ void Scripts::cmdDisplay1(Common::Array<byte> &params) {
*/
void Scripts::cmdDoorTextSml(Common::Array<byte> &params) {
Interface &intf = *_vm->_interface;
- intf._screenText = Common::String::format("\x02\f08\x03c\t116\v025%s\x03l\fd\x01",
+ intf._screenText = Common::String::format("\x02\f""08\x03""c\t116\v025%s\x03""l\fd""\x01",
_paramText.c_str());
intf._upDoorText = true;
intf.draw3d(true);
@@ -219,7 +219,7 @@ void Scripts::cmdDoorTextSml(Common::Array<byte> &params) {
*/
void Scripts::cmdDoorTextLrg(Common::Array<byte> &params) {
Interface &intf = *_vm->_interface;
- intf._screenText = Common::String::format("\f04\x03c\t116\v030%s\x03l\fd",
+ intf._screenText = Common::String::format("\f04\x03""c\t116\v030%s\x03""l\fd",
_paramText.c_str());
intf._upDoorText = true;
intf.draw3d(true);