diff options
author | Vladimir Menshakov | 2010-01-04 18:10:45 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2010-01-04 18:10:45 +0000 |
commit | 89e18f5f1207caa3a2dcc827da0ae0e7f6c577cf (patch) | |
tree | be31f32be7d209b840098302b89c83c26ac70747 | |
parent | fe2529ce172730da239cc11846592cbc74fe9fbb (diff) | |
download | scummvm-rg350-89e18f5f1207caa3a2dcc827da0ae0e7f6c577cf.tar.gz scummvm-rg350-89e18f5f1207caa3a2dcc827da0ae0e7f6c577cf.tar.bz2 scummvm-rg350-89e18f5f1207caa3a2dcc827da0ae0e7f6c577cf.zip |
original code uses exclusive random intervals
svn-id: r46980
-rw-r--r-- | engines/teenagent/teenagent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp index bd08a27e1f..3bed225028 100644 --- a/engines/teenagent/teenagent.cpp +++ b/engines/teenagent/teenagent.cpp @@ -363,8 +363,8 @@ bool TeenAgentEngine::showMetropolis() { //generate colors matrix memmove(colors + 320, colors + 480, 8480); for(uint c = 0; c < 17; ++c) { - byte x = (random.getRandomNumber(185) + 5) & 0xff; - uint offset = 8800 + random.getRandomNumber(159); + byte x = (random.getRandomNumber(184) + 5) & 0xff; + uint offset = 8800 + random.getRandomNumber(158); colors[offset++] = x; colors[offset++] = x; } |