fix: neoapps dysfunctional build script

This commit is contained in:
Fireblade
2026-05-05 23:20:16 -04:00
parent 8ccb2b6741
commit f8e4f6376e
287 changed files with 4143 additions and 4710 deletions
+3 -3
View File
@@ -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;