diff options
| author | Paul Gilbert | 2015-01-21 22:09:12 -0500 | 
|---|---|---|
| committer | Paul Gilbert | 2015-01-21 22:09:12 -0500 | 
| commit | 16a5a99c3aa615f5b69a8c4c1df987c906973990 (patch) | |
| tree | 166cb77f169ac7f4fb4cfdf08f251ecfe0a740ad /engines/xeen/scripts.cpp | |
| parent | 1b264ed299fd87262c2cf228418ec606fdf75646 (diff) | |
| download | scummvm-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.cpp | 6 | 
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> ¶ms) {   */  void Scripts::cmdDisplay1(Common::Array<byte> ¶ms) {  	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> ¶ms) {   */  void Scripts::cmdDoorTextSml(Common::Array<byte> ¶ms) {  	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> ¶ms) {   */  void Scripts::cmdDoorTextLrg(Common::Array<byte> ¶ms) {  	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);  | 
