aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/script.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-27 13:28:32 +0000
committerTravis Howell2006-10-27 13:28:32 +0000
commit9f85511537f460d70bf8b3b22ff77327554e752d (patch)
treee52c3dd60a3901e0543d19b64d13c730d6426336 /engines/agos/script.cpp
parentf07fc242b30f781d197fe19005e3a9cbff922c44 (diff)
downloadscummvm-rg350-9f85511537f460d70bf8b3b22ff77327554e752d.tar.gz
scummvm-rg350-9f85511537f460d70bf8b3b22ff77327554e752d.tar.bz2
scummvm-rg350-9f85511537f460d70bf8b3b22ff77327554e752d.zip
Cleanup
svn-id: r24533
Diffstat (limited to 'engines/agos/script.cpp')
-rw-r--r--engines/agos/script.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index ef0b07a547..1186ebb14d 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -667,10 +667,7 @@ void AGOSEngine::o_defWindow() {
if (num == _curWindow) {
_textWindow = _windowArray[num];
- if (getGameType() == GType_FF || getGameType() == GType_PP)
- justifyStart(_textWindow->textColumn, _textWindow->width);
- else
- justifyStart(_textWindow->textLength, _textWindow->textMaxLength);
+ justifyStart();
}
}