diff options
author | Eugene Sandulenko | 2016-08-28 21:06:25 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-29 07:11:20 +0200 |
commit | 0237050b36e2c2e6e705f69bad48893a3ca9ea80 (patch) | |
tree | 484a0dea53080b171aa60ba28fe456317fb101dd | |
parent | 7d6e03c2303578e2ae098ddeef9ff8284717e54c (diff) | |
download | scummvm-rg350-0237050b36e2c2e6e705f69bad48893a3ca9ea80.tar.gz scummvm-rg350-0237050b36e2c2e6e705f69bad48893a3ca9ea80.tar.bz2 scummvm-rg350-0237050b36e2c2e6e705f69bad48893a3ca9ea80.zip |
FULLPIPE: Improved Behavior debugging
-rw-r--r-- | engines/fullpipe/behavior.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/fullpipe/behavior.cpp b/engines/fullpipe/behavior.cpp index f4cbc2b8c8..4f70553033 100644 --- a/engines/fullpipe/behavior.cpp +++ b/engines/fullpipe/behavior.cpp @@ -90,7 +90,7 @@ void BehaviorManager::updateBehaviors() { if (!_isActive) return; - debugC(4, kDebugBehavior, "BehaviorManager::updateBehaviors()"); + debugC(6, kDebugBehavior, "BehaviorManager::updateBehaviors()"); for (uint i = 0; i < _behaviors.size(); i++) { BehaviorInfo *beh = _behaviors[i]; @@ -129,7 +129,7 @@ void BehaviorManager::updateBehaviors() { } void BehaviorManager::updateBehavior(BehaviorInfo *behaviorInfo, BehaviorAnim *entry) { - debugC(4, kDebugBehavior, "BehaviorManager::updateBehavior() %d", entry->_movesCount); + debugC(7, kDebugBehavior, "BehaviorManager::updateBehavior() moves: %d", entry->_movesCount); for (int i = 0; i < entry->_movesCount; i++) { BehaviorMove *bhi = entry->_behaviorMoves[i]; if (!(bhi->_flags & 1)) { @@ -151,7 +151,7 @@ void BehaviorManager::updateBehavior(BehaviorInfo *behaviorInfo, BehaviorAnim *e } void BehaviorManager::updateStaticAniBehavior(StaticANIObject *ani, int delay, BehaviorAnim *bhe) { - debugC(4, kDebugBehavior, "BehaviorManager::updateStaticAniBehavior(%s)", transCyrillic((byte *)ani->_objectName)); + debugC(6, kDebugBehavior, "BehaviorManager::updateStaticAniBehavior(%s)", transCyrillic((byte *)ani->_objectName)); MessageQueue *mq = 0; @@ -231,7 +231,7 @@ BehaviorMove *BehaviorManager::getBehaviorMoveByMessageQueueDataId(StaticANIObje } void BehaviorInfo::clear() { - _ani = 0; + _ani = NULL; _staticsId = 0; _counter = 0; _counterMax = 0; |