aboutsummaryrefslogtreecommitdiff
path: root/sword2/logic.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-01-09 14:52:39 +0000
committerTorbjörn Andersson2004-01-09 14:52:39 +0000
commitb9c3b7b008a0deb80d30f3ac622c50535be5a52a (patch)
treeb4b7ef329dd1bba93b1fde4a2511abde5d0f17df /sword2/logic.cpp
parentb85248aa135671e6e84db2299cd44f4a5a704398 (diff)
downloadscummvm-rg350-b9c3b7b008a0deb80d30f3ac622c50535be5a52a.tar.gz
scummvm-rg350-b9c3b7b008a0deb80d30f3ac622c50535be5a52a.tar.bz2
scummvm-rg350-b9c3b7b008a0deb80d30f3ac622c50535be5a52a.zip
Removed redundant comments.
svn-id: r12279
Diffstat (limited to 'sword2/logic.cpp')
-rw-r--r--sword2/logic.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/sword2/logic.cpp b/sword2/logic.cpp
index f6c2d9b7db..3f67dfaa69 100644
--- a/sword2/logic.cpp
+++ b/sword2/logic.cpp
@@ -365,8 +365,6 @@ int32 Logic::fnTotalRestart(int32 *params) {
// params: none
totalRestart();
-
- // drop out without saving pc and go around again
return IR_TERMINATE;
}
@@ -397,11 +395,8 @@ int32 Logic::fnAddToKillList(int32 *params) {
// (otherwise finish)
if (entry == _kills) {
-#ifdef _SWORD2_DEBUG
// no room at the inn
- if (_kills == OBJECT_KILL_LIST_SIZE)
- error("List full in fnAddToKillList(%u)", ID);
-#endif
+ assert(_kills < OBJECT_KILL_LIST_SIZE);
// add this 'ID' to the kill list
_objectKillList[_kills] = ID;
@@ -417,7 +412,6 @@ int32 Logic::fnAddToKillList(int32 *params) {
}
}
- // continue script
return IR_CONT;
}