aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-22 13:25:18 -0400
committerMatthew Hoops2012-09-22 13:26:36 -0400
commit9a1bdfbd0838fd895cac445f051b109914f51f73 (patch)
treecc161e7c19fe63efa064a06a9e4b0bac323d233f
parent636d3367d5597736ebf87c4a811128650de09d5e (diff)
downloadscummvm-rg350-9a1bdfbd0838fd895cac445f051b109914f51f73.tar.gz
scummvm-rg350-9a1bdfbd0838fd895cac445f051b109914f51f73.tar.bz2
scummvm-rg350-9a1bdfbd0838fd895cac445f051b109914f51f73.zip
PEGASUS: Fixed claw scoring time
It should be set when actually using the claw instead of just looking at the sub control monitors. Thanks to Keith Kaisershot (blitter) for spotting
-rw-r--r--engines/pegasus/neighborhood/norad/subcontrolroom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/neighborhood/norad/subcontrolroom.cpp b/engines/pegasus/neighborhood/norad/subcontrolroom.cpp
index 2b15ad4b7d..55d756211f 100644
--- a/engines/pegasus/neighborhood/norad/subcontrolroom.cpp
+++ b/engines/pegasus/neighborhood/norad/subcontrolroom.cpp
@@ -541,8 +541,6 @@ void SubControlRoom::initInteraction() {
_subControlMovie.redrawMovieWorld();
_clawMonitorMovie.redrawMovieWorld();
-
- GameState.setScoringPlayedWithClaw(true);
}
void SubControlRoom::closeInteraction() {
@@ -833,6 +831,8 @@ void SubControlRoom::clickInHotspot(const Input &input, const Hotspot *spot) {
}
void SubControlRoom::dispatchClawAction(const int newAction) {
+ GameState.setScoringPlayedWithClaw(true);
+
Neighborhood *owner = getOwner();
if (newAction == kNoActionIndex) {