aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-08-13 01:06:56 +0200
committerEinar Johan Trøan Sømåen2012-08-13 01:06:56 +0200
commit2c44f3f5fac5f5bbe5628cf3de61782f975174fd (patch)
tree6bb6558f15aee6db478072b26cc5c770131b76ef /engines/wintermute/ad
parent5b3389672b6442dde3c32978afe912a07ed40c07 (diff)
downloadscummvm-rg350-2c44f3f5fac5f5bbe5628cf3de61782f975174fd.tar.gz
scummvm-rg350-2c44f3f5fac5f5bbe5628cf3de61782f975174fd.tar.bz2
scummvm-rg350-2c44f3f5fac5f5bbe5628cf3de61782f975174fd.zip
WINTERMUTE: Make a few noisy warnings into debug-calls.
Diffstat (limited to 'engines/wintermute/ad')
-rw-r--r--engines/wintermute/ad/ad_response_box.cpp5
-rw-r--r--engines/wintermute/ad/ad_scene.cpp3
2 files changed, 5 insertions, 3 deletions
diff --git a/engines/wintermute/ad/ad_response_box.cpp b/engines/wintermute/ad/ad_response_box.cpp
index e321f1cd93..5f2a1dc825 100644
--- a/engines/wintermute/ad/ad_response_box.cpp
+++ b/engines/wintermute/ad/ad_response_box.cpp
@@ -42,6 +42,7 @@
#include "engines/wintermute/base/base_file_manager.h"
#include "engines/wintermute/utils/utils.h"
#include "engines/wintermute/platform_osystem.h"
+#include "engines/wintermute/wintermute.h"
#include "common/str.h"
namespace WinterMute {
@@ -610,7 +611,7 @@ bool AdResponseBox::weedResponses() {
}
break;
default:
- warning("AdResponseBox::WeedResponses - Unhandled enum");
+ debugC(kWinterMuteDebugGeneral, "AdResponseBox::WeedResponses - Unhandled enum");
break;
}
}
@@ -640,7 +641,7 @@ bool AdResponseBox::handleResponse(AdResponse *response) {
adGame->addGameResponse(response->_iD);
break;
default:
- warning("AdResponseBox::HandleResponse - Unhandled enum");
+ debugC(kWinterMuteDebugGeneral, "AdResponseBox::HandleResponse - Unhandled enum");
}
return STATUS_OK;
diff --git a/engines/wintermute/ad/ad_scene.cpp b/engines/wintermute/ad/ad_scene.cpp
index b84c4c2dca..d99b6b7fb8 100644
--- a/engines/wintermute/ad/ad_scene.cpp
+++ b/engines/wintermute/ad/ad_scene.cpp
@@ -57,6 +57,7 @@
#include "engines/wintermute/base/scriptables/script.h"
#include "engines/wintermute/ui/ui_window.h"
#include "engines/wintermute/utils/utils.h"
+#include "engines/wintermute/wintermute.h"
#include <limits.h>
namespace WinterMute {
@@ -2936,7 +2937,7 @@ bool AdScene::getSceneObjects(BaseArray<AdObject *> &objects, bool interactiveOn
}
break;
default:
- warning("AdScene::GetSceneObjects - Unhandled enum");
+ debugC(kWinterMuteDebugGeneral, "AdScene::GetSceneObjects - Unhandled enum");
break;
}
}