aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-03 16:03:22 +0000
committerMartin Kiewitz2010-08-03 16:03:22 +0000
commit14e7ba5d91be70e4c4479916875a0d782c02b1ee (patch)
tree019b5c9e2d1e33ba74fa08a10dc3bd1400c57fc8 /engines
parentee28c2eb54b3b02643a2e46d793acdf0843596a0 (diff)
downloadscummvm-rg350-14e7ba5d91be70e4c4479916875a0d782c02b1ee.tar.gz
scummvm-rg350-14e7ba5d91be70e4c4479916875a0d782c02b1ee.tar.bz2
scummvm-rg350-14e7ba5d91be70e4c4479916875a0d782c02b1ee.zip
SCI: kMemory issue in pq3 only for multilingual
adjusted comment accordingly svn-id: r51702
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kmisc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp
index 47d86f920a..fbe20410de 100644
--- a/engines/sci/engine/kmisc.cpp
+++ b/engines/sci/engine/kmisc.cpp
@@ -229,10 +229,10 @@ reg_t kMemory(EngineState *s, int argc, reg_t *argv) {
switch (argv[0].toUint16()) {
case K_MEMORY_ALLOCATE_CRITICAL: {
int byteCount = argv[1].toUint16();
- // WORKAROUND: pq3 when plotting crimes - allocates the returned bytes
- // from kStrLen on "W" and "E" and wants to put a string in there,
- // which doesn't fit of course. That's why we allocate one byte more
- // all the time inside that room - maybe only multilingual pq3
+ // WORKAROUND: pq3 (multilingual) when plotting crimes - allocates the
+ // returned bytes from kStrLen on "W" and "E" and wants to put a
+ // string in there, which doesn't fit of course. That's why we allocate
+ // one byte more all the time inside that room
if (g_sci->getGameId() == GID_PQ3) {
if (s->currentRoomNumber() == 202)
byteCount++;