mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-03 14:38:59 +01:00
fix: neoapps dysfunctional build script
This commit is contained in:
1 parent
8ccb2b6741
commit
f8e4f6376e
287 files changed
+4143
-4710
No files matched your search
@@ -141,7 +141,7 @@ void TripWireSourceTile::calculateState(Level *level, int x, int y, int z, int i
|
||||
int dir = data & MASK_DIR;
|
||||
bool wasAttached = (data & MASK_ATTACHED) == MASK_ATTACHED;
|
||||
bool wasPowered = (data & MASK_POWERED) == MASK_POWERED;
|
||||
bool attached = id == Tile::tripWireSource_Id; // id is only != TripwireSource_id when 'onRemove'
|
||||
bool attached = id == Tile::tripwire_hook_Id; // id is only != tripwire_hook_Id when 'onRemove'
|
||||
bool powered = false;
|
||||
bool suspended = !level->isTopSolidBlocking(x, y - 1, z);
|
||||
int stepX = Direction::STEP_X[dir];
|
||||
@@ -156,7 +156,7 @@ void TripWireSourceTile::calculateState(Level *level, int x, int y, int z, int i
|
||||
int zz = z + stepZ * i;
|
||||
int tile = level->getTile(xx, y, zz);
|
||||
|
||||
if (tile == Tile::tripWireSource_Id)
|
||||
if (tile == Tile::tripwire_hook_Id)
|
||||
{
|
||||
int otherData = level->getData(xx, y, zz);
|
||||
|
||||
@@ -167,7 +167,7 @@ void TripWireSourceTile::calculateState(Level *level, int x, int y, int z, int i
|
||||
|
||||
break;
|
||||
}
|
||||
else if (tile == Tile::tripWire_Id || i == wireSource) // wireSource is the wiretile that caused an 'updateSource'
|
||||
else if (tile == Tile::tripwire_Id || i == wireSource) // wireSource is the wiretile that caused an 'updateSource'
|
||||
{
|
||||
int wireData = i == wireSource ? wireSourceData : level->getData(xx, y, zz);
|
||||
bool wireArmed = (wireData & TripWireTile::MASK_DISARMED) != TripWireTile::MASK_DISARMED;
|
||||
|
||||
Reference in new issue
Block a user