aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDenis Kasak2009-07-14 19:13:49 +0000
committerDenis Kasak2009-07-14 19:13:49 +0000
commit4ef46f4bb07f3736f7a90d70b6907bb03ff04632 (patch)
tree82af07802d5400242a63865a4c9986cf6d41867c /engines
parent6d51a3ead4eae4a2c8fbb8cce20b4c1e4bbd4c64 (diff)
downloadscummvm-rg350-4ef46f4bb07f3736f7a90d70b6907bb03ff04632.tar.gz
scummvm-rg350-4ef46f4bb07f3736f7a90d70b6907bb03ff04632.tar.bz2
scummvm-rg350-4ef46f4bb07f3736f7a90d70b6907bb03ff04632.zip
Adjusted levels for some Game debug messages and added some new ones.
svn-id: r42489
Diffstat (limited to 'engines')
-rw-r--r--engines/draci/game.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index 0df1d64879..f5d3a15c85 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -172,12 +172,12 @@ void Game::loadRoom(int roomNum) {
_currentRoom._numGates = roomReader.readByte();
for (uint i = 0; i < _info._numObjects; ++i) {
- debugC(1, kDraciLogicDebugLevel,
+ debugC(2, kDraciLogicDebugLevel,
"Checking if object %d (%d) is at the current location (%d)", i,
_objects[i]._location, roomNum);
if (_objects[i]._location == roomNum) {
- debugC(1, kDraciLogicDebugLevel, "Loading object %d from room %d", i, roomNum);
+ debugC(2, kDraciLogicDebugLevel, "Loading object %d from room %d", i, roomNum);
loadObject(i);
}
}
@@ -317,6 +317,9 @@ void Game::loadOverlays() {
}
void Game::changeRoom(uint roomNum) {
+
+ debugC(1, kDraciLogicDebugLevel, "Changing to room %d", roomNum);
+
_vm->_roomsArchive->clearCache();
_vm->_spritesArchive->clearCache();
_vm->_paletteArchive->clearCache();