aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/acci2.cpp
diff options
context:
space:
mode:
authoruruk2013-07-30 19:05:05 +0200
committeruruk2013-07-30 19:05:05 +0200
commita13d37e5ca26a5a9c6c9435324c89e4eceb1d846 (patch)
treef5f6f23aa974e803016524195fb5ec6b2253fe07 /engines/avalanche/acci2.cpp
parent2857f5aad2c4a024c97e43da67d056a2f7a22def (diff)
downloadscummvm-rg350-a13d37e5ca26a5a9c6c9435324c89e4eceb1d846.tar.gz
scummvm-rg350-a13d37e5ca26a5a9c6c9435324c89e4eceb1d846.tar.bz2
scummvm-rg350-a13d37e5ca26a5a9c6c9435324c89e4eceb1d846.zip
AVALANCHE: Implement Trip::checkfeet(), repair Trip::stopwalking(). Repair Acci::stand_up(). Repair Gyro::newgame().
Diffstat (limited to 'engines/avalanche/acci2.cpp')
-rw-r--r--engines/avalanche/acci2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/acci2.cpp b/engines/avalanche/acci2.cpp
index ce236d4f35..86600d62dc 100644
--- a/engines/avalanche/acci2.cpp
+++ b/engines/avalanche/acci2.cpp
@@ -940,7 +940,7 @@ void Acci::already() {
void Acci::stand_up() {
switch (_vm->_gyro->dna.room) {
case r__yours: /* Avvy isn't asleep. */
- if (_vm->_gyro->dna.avvy_in_bed) { /* But he's in bed. */
+ if (_vm->_gyro->dna.avvy_is_awake && _vm->_gyro->dna.avvy_in_bed) { /* But he's in bed. */
if (_vm->_gyro->dna.teetotal) {
_vm->_visa->dixi('d', 12);
_vm->_gyro->background(0);