diff options
author | Strangerke | 2016-07-25 19:03:49 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | afaaa4d58e8acfa6ad269223d5f8eca91447e0e4 (patch) | |
tree | 1c339ac87ac44ff9d0b574f1b10ed083a34c8caa /engines | |
parent | 42f7f17c099312e45457432d68fc7e5424ed7ff5 (diff) | |
download | scummvm-rg350-afaaa4d58e8acfa6ad269223d5f8eca91447e0e4.tar.gz scummvm-rg350-afaaa4d58e8acfa6ad269223d5f8eca91447e0e4.tar.bz2 scummvm-rg350-afaaa4d58e8acfa6ad269223d5f8eca91447e0e4.zip |
DM: Use error() in f278_resetDataToStartGame
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dm/champion.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/dm/champion.cpp b/engines/dm/champion.cpp index 92f23ac210..508605baea 100644 --- a/engines/dm/champion.cpp +++ b/engines/dm/champion.cpp @@ -1787,10 +1787,8 @@ ChampionIndex ChampionMan::f285_getIndexInCell(int16 cell) { }
void ChampionMan::f278_resetDataToStartGame() {
- if (!_vm->_g298_newGame) {
- warning(false, "MISSING CODE: stuff for resetting for loaded games");
- assert(false);
- }
+ if (!_vm->_g298_newGame)
+ error("MISSING CODE: stuff for resetting for loaded games");
_g414_leaderHandObject = Thing::_none;
_g413_leaderHandObjectIconIndex = kM1_IconIndiceNone;
|