Core/SAI: Implemented SMART_EVENT_GO_STATE_CHANGED and SMART_ACTION_GO_SET_LOOT_STATE
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
This commit is contained in:
1 parent
a79ea3dcdf
commit
aaa255b83d
8 files changed
+51
-3
No files matched your search
@@ -1864,3 +1864,9 @@ void GameObject::SetDestructibleState(GameObjectDestructibleState state, Player*
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void GameObject::SetLootState(LootState s)
|
||||
{
|
||||
m_lootState = s;
|
||||
AI()->OnStateChanged(s);
|
||||
}
|
||||
Reference in new issue
Block a user