aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-31 22:41:36 +1100
committerPaul Gilbert2012-01-31 22:41:36 +1100
commit23a497f7922e3078dd1be44fddbab41a5646c971 (patch)
tree06831497eec16046553f6fff053a1cca53124dee
parentd1db4a48ed18bc4d411860c06b90151f37875ae8 (diff)
downloadscummvm-rg350-23a497f7922e3078dd1be44fddbab41a5646c971.tar.gz
scummvm-rg350-23a497f7922e3078dd1be44fddbab41a5646c971.tar.bz2
scummvm-rg350-23a497f7922e3078dd1be44fddbab41a5646c971.zip
TSAGE: Minor cleanups for R2R scene 180
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes0.cpp2
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes0.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
index 887ff17d3b..84f05656f4 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
@@ -1845,6 +1845,7 @@ void Scene205::synchronize(Serializer &s) {
s.syncAsSint16LE(_textIndex);
s.syncAsSint16LE(_lineNum);
+ s.syncAsSint16BE(_yp);
}
void Scene205::remove() {
@@ -1955,7 +1956,6 @@ void Scene205::processList(Object **ObjList, int count, const Common::Rect &boun
void Scene205::handleText() {
_message = g_resourceManager->getMessage(205, ++_lineNum);
- _messageP = _message.c_str();
_textList[_textIndex]._fontNumber = 4;
_textList[_textIndex]._color1 = 0;
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.h b/engines/tsage/ringworld2/ringworld2_scenes0.h
index da2e0b3a52..19bded3c5c 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.h
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.h
@@ -261,7 +261,6 @@ public:
int _yp;
int _textIndex, _lineNum;
Common::String _message;
- const char *_messageP;
public:
Scene205();