diff options
author | Filippos Karapetis | 2009-10-22 05:42:14 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-22 05:42:14 +0000 |
commit | 89febd360f343a4ceb03b4c8ac11aa77f969d351 (patch) | |
tree | e343515b1f2594a5abd7bb0fdffca98bab25bd01 | |
parent | 1f4ad52c61e2dbaca95a99bfcf20f4c298fdd41c (diff) | |
download | scummvm-rg350-89febd360f343a4ceb03b4c8ac11aa77f969d351.tar.gz scummvm-rg350-89febd360f343a4ceb03b4c8ac11aa77f969d351.tar.bz2 scummvm-rg350-89febd360f343a4ceb03b4c8ac11aa77f969d351.zip |
Cleanup
svn-id: r45323
-rw-r--r-- | engines/sci/engine/vm.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index d54f29293f..3f8798ae96 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -165,9 +165,7 @@ static void validate_write_var(reg_t *r, reg_t *stack_base, int type, int max, i if (index == 0 && type == VAR_GLOBAL) { // global 0 is ego reg_t stopGroopPos = segMan->findObjectByName("stopGroop"); if (!stopGroopPos.isNull()) { // does the game have a stopGroop object? - // Notify the stopGroop object that Ego changed - //Object *stopGroopObj = segMan->getObject(stopGroopPos); - // Find the "client" member variable, and update it + // Find the "client" member variable of the stopGroop object, and update it ObjVarRef varp; if (lookup_selector(segMan, stopGroopPos, kernel->_selectorCache.client, &varp, NULL) == kSelectorVariable) { reg_t *clientVar = varp.getPointer(segMan); |