Skip to content

Commit

Permalink
DM: Use error() in f278_resetDataToStartGame
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke authored and Bendegúz Nagy committed Aug 26, 2016
1 parent 42f7f17 commit afaaa4d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions engines/dm/champion.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit afaaa4d

Please sign in to comment.