BLADERUNNER: Added Klein actor
added more constants fixed bug in checking actor scene
This commit is contained in:
parent
568d026409
commit
001f58ce61
17 changed files with 701 additions and 235 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue