mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 00:37:58 +03:00
Make the "Lara" global non-owning. Will look into this and see if we actually need it.
This commit is contained in:
parent
4fd68787dc
commit
63a696f25e
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue