Make the "Lara" global non-owning. Will look into this and see if we actually need it.

This commit is contained in:
hispidence 2021-07-21 18:09:53 +01:00
parent 4fd68787dc
commit 63a696f25e

View file

@ -413,7 +413,7 @@ void GameScript::AssignItemsAndLara()
{
m_lua->set("Level", m_locals);
m_lua->set("Game", m_globals);
m_lua->set("Lara", GameScriptItemInfo(Lara.itemNumber));
m_lua->set("Lara", GameScriptItemInfo(Lara.itemNumber, false)); // do we need GetLara if we have this?
}
void GameScript::ResetVariables()