diff options
author | Matthew Stewart | 2018-06-06 23:10:54 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | ed7d22cd0f2ac6a42bde79d49d417c7c981e0758 (patch) | |
tree | e55052b589c0862d1d0520fcd3ddba1f49a1ce1f /engines/startrek/rooms/demon0.cpp | |
parent | 84a30e4dce6bdaf3d40656342e53b5dcd12746be (diff) | |
download | scummvm-rg350-ed7d22cd0f2ac6a42bde79d49d417c7c981e0758.tar.gz scummvm-rg350-ed7d22cd0f2ac6a42bde79d49d417c7c981e0758.tar.bz2 scummvm-rg350-ed7d22cd0f2ac6a42bde79d49d417c7c981e0758.zip |
STARTREK: Make "missionScore" mission-specific
Diffstat (limited to 'engines/startrek/rooms/demon0.cpp')
-rw-r--r-- | engines/startrek/rooms/demon0.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/startrek/rooms/demon0.cpp b/engines/startrek/rooms/demon0.cpp index 2986810e5d..9adb2eb307 100644 --- a/engines/startrek/rooms/demon0.cpp +++ b/engines/startrek/rooms/demon0.cpp @@ -157,7 +157,7 @@ void Room::demon0TalkToPrelate() { if (_vm->_awayMission.demon.talkedToPrelate) return; - _vm->_awayMission.missionScore += 3; + _vm->_awayMission.demon.missionScore += 3; _vm->_awayMission.demon.talkedToPrelate = true; const int *response = nullptr; @@ -330,7 +330,7 @@ void Room::demon0BadResponse() { if (_vm->_awayMission.demon.wasRudeToPrelate) return; - _vm->_awayMission.missionScore -= 3; + _vm->_awayMission.demon.missionScore -= 3; _vm->_awayMission.demon.wasRudeToPrelate = true; showText(TX_SPEAKER_ANGIVEN, TX_DEM0_033); |