mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 08:47:58 +03:00
Refactoring 1
This commit is contained in:
parent
9b0464a431
commit
3cabd868ba
127 changed files with 159 additions and 332 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "..\Game\box.h"
|
||||
#include "..\Game\lot.h"
|
||||
#include "..\Game\sound.h"
|
||||
#include "../Specific/setup.h"
|
||||
|
||||
extern GameFlow* g_GameFlow;
|
||||
|
||||
|
@ -314,7 +315,7 @@ void GameScript::AssignItemsAndLara()
|
|||
for (int i = 0; i < NUM_ITEMS; i++)
|
||||
m_items[i].NativeItem = NULL;
|
||||
|
||||
for (int i = 0; i < NumItems; i++)
|
||||
for (int i = 0; i < LevelItems; i++)
|
||||
m_items[i].NativeItem = &Items[i];
|
||||
|
||||
(*m_lua)["Lara"] = m_items[Lara.itemNumber];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue