BLADERUNNER: Added Klein actor

added more constants
fixed bug in checking actor scene
This commit is contained in:
Peter Kohaut 2018-03-07 22:27:28 +01:00
parent 568d026409
commit 001f58ce61
17 changed files with 701 additions and 235 deletions

View file

@ -330,7 +330,7 @@ int ScriptBase::Actor_Query_Which_Set_In(int actorId) {
bool ScriptBase::Actor_Query_Is_In_Current_Set(int actorId) {
int actorSetId = _vm->_actors[actorId]->getSetId();
return actorSetId >= 0 && _vm->_scene->getSetId();
return actorSetId >= 0 && actorSetId == _vm->_scene->getSetId();
}
bool ScriptBase::Actor_Query_In_Set(int actorId, int setId) {