mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-12 21:47:03 +03:00
Rename box
This commit is contained in:
parent
921c2abe43
commit
202bf42a12
12 changed files with 53 additions and 53 deletions
|
@ -140,10 +140,10 @@ int LoadItems()
|
|||
{
|
||||
FLOOR_INFO* floor = &r.floor[((mesh.z - r.z) / 1024) + r.xSize * ((mesh.x - r.x) / 1024)];
|
||||
|
||||
if (floor->box == NO_BOX)
|
||||
if (floor->Box == NO_BOX)
|
||||
continue;
|
||||
|
||||
if (!(g_Level.Boxes[floor->box].flags & BLOCKED))
|
||||
if (!(g_Level.Boxes[floor->Box].flags & BLOCKED))
|
||||
{
|
||||
int fl = floor->floor * 4;
|
||||
STATIC_INFO* st = &StaticObjects[mesh.staticNumber];
|
||||
|
@ -645,7 +645,7 @@ void ReadRooms()
|
|||
FLOOR_INFO floor;
|
||||
|
||||
floor.TriggerIndex = ReadInt32();
|
||||
floor.box = ReadInt32();
|
||||
floor.Box = ReadInt32();
|
||||
floor.Material = ReadInt32();
|
||||
floor.Stopper = ReadInt32();
|
||||
floor.floor = ReadInt32();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue