HUGO: Move several short function bodies from headers to cpp files

This commit is contained in:
strangerke 2011-02-18 22:24:32 +01:00
parent a6593c294e
commit ec559360ab
29 changed files with 380 additions and 141 deletions

View file

@ -123,7 +123,7 @@ void Parser_v2d::lineHandler() {
if (!strcmp("save", _vm->_line)) {
_vm->_config.soundFl = false;
if (gameStatus.gameOverFl)
Utils::gameOverMsg();
_vm->gameOverMsg();
else
_vm->_file->saveGame(-1, Common::String());
return;
@ -143,8 +143,9 @@ void Parser_v2d::lineHandler() {
if (strspn(_vm->_line, " ") == strlen(_vm->_line)) // Nothing but spaces!
return;
if (gameStatus.gameOverFl) { // No commands allowed!
Utils::gameOverMsg();
if (gameStatus.gameOverFl) {
// No commands allowed!
_vm->gameOverMsg();
return;
}