aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/police_maze.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2018-11-21 23:16:15 +0100
committerPeter Kohaut2018-11-24 08:39:03 +0100
commit824ecc0aad325c54f34c8fb7f64cf4df71c53090 (patch)
tree109abb14609bacaac2c0b1b2ed42e67a8cd2c5ec /engines/bladerunner/script/police_maze.cpp
parent44b68a0aeb92d6dc6b6d1b3260ec5f82c529b9f0 (diff)
downloadscummvm-rg350-824ecc0aad325c54f34c8fb7f64cf4df71c53090.tar.gz
scummvm-rg350-824ecc0aad325c54f34c8fb7f64cf4df71c53090.tar.bz2
scummvm-rg350-824ecc0aad325c54f34c8fb7f64cf4df71c53090.zip
BLADERUNNER: Preliminary saving & loading support
Saving and loading is accessible via ScummVM dialogs. No in-game UI support yet. It is possible to load saves from original game via debugger console. ScummVM saves have additional header and are incompatibile with original game.
Diffstat (limited to 'engines/bladerunner/script/police_maze.cpp')
-rw-r--r--engines/bladerunner/script/police_maze.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/script/police_maze.cpp b/engines/bladerunner/script/police_maze.cpp
index a85fa07451..284b55dcb0 100644
--- a/engines/bladerunner/script/police_maze.cpp
+++ b/engines/bladerunner/script/police_maze.cpp
@@ -175,7 +175,7 @@ void PoliceMazeTargetTrack::clear(bool isLoadingGame) {
void PoliceMazeTargetTrack::add(int trackId, float startX, float startY, float startZ, float endX, float endY, float endZ, int steps, const int *instructions, bool isActive) {
_data = (const int *)instructions;
- if (true /* !GameIsLoading */) { // TODO: FIXME
+ if (!_vm->_gameIsLoading) {
_itemId = trackId;
_pointCount = steps;
_dataIndex = 0;