aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
authorMax Horn2004-01-11 20:15:05 +0000
committerMax Horn2004-01-11 20:15:05 +0000
commit0712cb95af1bbadb99aea44a53addc48c3f9a6ce (patch)
tree186216b4d76fdd0484b9b236bd06226a50ee0362 /scumm/object.cpp
parent6574feefb1714f72809754e055d36b7b98e3f369 (diff)
downloadscummvm-rg350-0712cb95af1bbadb99aea44a53addc48c3f9a6ce.tar.gz
scummvm-rg350-0712cb95af1bbadb99aea44a53addc48c3f9a6ce.tar.bz2
scummvm-rg350-0712cb95af1bbadb99aea44a53addc48c3f9a6ce.zip
renamed removeObjectFromRoom to forceObjectRedraw
svn-id: r12325
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index b892dd6589..c64e3177f5 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -850,7 +850,12 @@ void ScummEngine::clearOwnerOf(int obj) {
}
}
-void ScummEngine::removeObjectFromRoom(int obj) {
+/**
+ * Force a screen redraw at the location of the specifed object. This is
+ * typically called when an object was just removed from the room, or when its
+ * state changed.
+ */
+void ScummEngine::forceObjectRedraw(int obj) {
int i, j, strip;
for (i = 1; i < _numLocalObjects; i++) {