diff options
author | Thanasis Antoniou | 2019-05-04 10:08:39 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-05-04 17:25:34 +0300 |
commit | 7d2777e1d7f1abef54272ffb4287e26738a8a554 (patch) | |
tree | 1cd002ac76913592b438d61a6a5aa634892a079c /engines/bladerunner/debugger.cpp | |
parent | a281d68d7b6796583d0b3ce7fce1746c3c2321a3 (diff) | |
download | scummvm-rg350-7d2777e1d7f1abef54272ffb4287e26738a8a554.tar.gz scummvm-rg350-7d2777e1d7f1abef54272ffb4287e26738a8a554.tar.bz2 scummvm-rg350-7d2777e1d7f1abef54272ffb4287e26738a8a554.zip |
BLADERUNNER: Debugger add box fix
Diffstat (limited to 'engines/bladerunner/debugger.cpp')
-rw-r--r-- | engines/bladerunner/debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/debugger.cpp b/engines/bladerunner/debugger.cpp index 5dde9d44f1..153d8fa306 100644 --- a/engines/bladerunner/debugger.cpp +++ b/engines/bladerunner/debugger.cpp @@ -1155,8 +1155,8 @@ bool Debugger::cmdObject(int argc, const char **argv) { if (_vm->_scene->_set->_objectCount > 85) { //85 is the size of the _objects array in set.cpp debugPrintf("Unable to add more objects in the set\n"); } else { - _vm->_scene->_set->_objectCount++; int objectId = _vm->_scene->_set->_objectCount; + _vm->_scene->_set->_objectCount++; _vm->_scene->_set->_objects[objectId].name = custObjName.c_str(); float x0, y0, z0, x1, y1, z1; |