aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2010-01-02 00:22:46 +0000
committerEugene Sandulenko2010-01-02 00:22:46 +0000
commitbe1d586cd5f10a7dfdfff97bf7747744976e1f6c (patch)
tree48877361a28b7ba2e3f3ef61eded668c83cceacc
parenta22fd021e9fe1e798bf72c537cce482268d1c9ed (diff)
downloadscummvm-rg350-be1d586cd5f10a7dfdfff97bf7747744976e1f6c.tar.gz
scummvm-rg350-be1d586cd5f10a7dfdfff97bf7747744976e1f6c.tar.bz2
scummvm-rg350-be1d586cd5f10a7dfdfff97bf7747744976e1f6c.zip
Removing now redundant comment. The fix was correct.
svn-id: r46868
-rw-r--r--engines/saga/script.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/saga/script.h b/engines/saga/script.h
index 0775ebf954..a5573e93b4 100644
--- a/engines/saga/script.h
+++ b/engines/saga/script.h
@@ -333,15 +333,6 @@ public:
}
void setNoPendingVerb() {
_pendingVerb = getVerbType(kVerbNone);
- // TODO: Someone with knowledge of SAGA should review this.
- // This initially looked like:
- // _currentObject[0] = _currentObject[0] = ID_NOTHING;
- // and thus was an undefined operation on _currentObject[0]
- // according to the C(++) standard.
- // Now the question is whether this should really reset
- // both objets or just _currentObject[0].
- // In case the current code is ok, just remove the TODO,
- // otherwise fix the code and remove the TODO.
_currentObject[0] = _currentObject[1] = ID_NOTHING;
setPointerVerb();
}