diff options
| author | uruk | 2014-02-08 17:03:03 +0100 | 
|---|---|---|
| committer | uruk | 2014-02-08 17:03:03 +0100 | 
| commit | b57345e70b978072e9f024976bce7ef198bfd7b7 (patch) | |
| tree | 8516ed77416329b5cb679634a5204d7ce7e12283 | |
| parent | 3ebd83d19716de40df4b6570fb5473b7e6292510 (diff) | |
| download | scummvm-rg350-b57345e70b978072e9f024976bce7ef198bfd7b7.tar.gz scummvm-rg350-b57345e70b978072e9f024976bce7ef198bfd7b7.tar.bz2 scummvm-rg350-b57345e70b978072e9f024976bce7ef198bfd7b7.zip  | |
AVALANCHE: Add the yelling to the end of the ghost's animation.
| -rw-r--r-- | engines/avalanche/ghostroom.cpp | 11 | 
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp index a21003524a..f6a03a71f8 100644 --- a/engines/avalanche/ghostroom.cpp +++ b/engines/avalanche/ghostroom.cpp @@ -248,17 +248,24 @@ void GhostRoom::run() {  	}  	// Then it waves: -	_aarghCount = -14; +	_aarghCount = -15;  	for (int i = 0; i < 4; i++)  		for (int j = 0; j < 5; j++) {  			_vm->_graphics->drawFilledRectangle(Common::Rect(0, 96, 26 * 8, 169), kColorBlack);  			_vm->_graphics->ghostDrawGhost(_ghost[kWaveOrder[j]], 0, 96 + kAdjustment[j]); + +			_aarghCount++; + +			if (_aarghCount >= 0) +				for (int k = 0; k <= _aarghCount; k++) +					_vm->_graphics->ghostDrawPicture(_aargh[k], _aarghWhere[k].x, _aarghWhere[k].y); +  			_vm->_graphics->refreshScreen();  			wait(177);  		} -	 +  	warning("STUB: run()");  	CursorMan.showMouse(true);  | 
