Core/SAI: Implemented SMART_EVENT_GO_STATE_CHANGED and SMART_ACTION_GO_SET_LOOT_STATE
Signed-off-by: Subv2112 <[email protected]>
This commit is contained in:
@@ -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