aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game
diff options
context:
space:
mode:
authorLittleboy2012-07-27 13:41:48 -0400
committerLittleboy2012-07-27 13:42:06 -0400
commit94e2ea10cd9f5caf7a560b7f1def0f23da9046a5 (patch)
treed15e06a046dda721cc12b212af83b17c63b9c91b /engines/lastexpress/game
parente91001a1642ee8ba8b834f1908247c12d194e0b2 (diff)
downloadscummvm-rg350-94e2ea10cd9f5caf7a560b7f1def0f23da9046a5.tar.gz
scummvm-rg350-94e2ea10cd9f5caf7a560b7f1def0f23da9046a5.tar.bz2
scummvm-rg350-94e2ea10cd9f5caf7a560b7f1def0f23da9046a5.zip
LASTEXPRESS: Add menu-related warnings and turn some warnings into errors
Diffstat (limited to 'engines/lastexpress/game')
-rw-r--r--engines/lastexpress/game/action.cpp2
-rw-r--r--engines/lastexpress/game/savegame.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/game/action.cpp b/engines/lastexpress/game/action.cpp
index 1e5bc0ffd7..4d1c786167 100644
--- a/engines/lastexpress/game/action.cpp
+++ b/engines/lastexpress/game/action.cpp
@@ -404,7 +404,7 @@ SceneIndex Action::processHotspot(const SceneHotspot &hotspot) {
//////////////////////////////////////////////////////////////////////////
// Action 0
IMPLEMENT_ACTION(dummy)
- warning("[Action::action_dummy] Dummy action function called (hotspot action: %d)", hotspot.action);
+ error("[Action::action_dummy] Dummy action function called (hotspot action: %d)", hotspot.action);
return kSceneInvalid;
}
diff --git a/engines/lastexpress/game/savegame.cpp b/engines/lastexpress/game/savegame.cpp
index 4c268d84c6..a8fb5c55f7 100644
--- a/engines/lastexpress/game/savegame.cpp
+++ b/engines/lastexpress/game/savegame.cpp
@@ -257,7 +257,7 @@ void SaveLoad::saveGame(SavegameType type, EntityIndex entity, uint32 value) {
entry.saveLoadWithSerializer(ser);
if (!entry.isValid()) {
- warning("[SaveLoad::saveGame] Invalid entry. This savegame might be corrupted");
+ error("[SaveLoad::saveGame] Invalid entry. This savegame might be corrupted");
_savegame->seek(header.offset);
} else if (getState()->time < entry.time || (type == kSavegameTypeTickInterval && getState()->time == entry.time)) {
// Not ready to save a game, skipping!