summaryrefslogtreecommitdiff
path: root/src/manager/tileChangeObserveManager.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 14:59:48 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2024-01-06 15:01:44 +0100
commitaced0bef691dbc41bdd39b6e62662d2436877a4b (patch)
treee90f9fd8e4c4c3471c2fb246bb1372974294b469 /src/manager/tileChangeObserveManager.c
parentc3b771a20923b335bbea2ab97a68ac29d04fcc43 (diff)
Rename metaTiles
Now the 16x16 tiles are just called tiles and the 8x8 tiles are called subTiles.
Diffstat (limited to 'src/manager/tileChangeObserveManager.c')
-rw-r--r--src/manager/tileChangeObserveManager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/manager/tileChangeObserveManager.c b/src/manager/tileChangeObserveManager.c
index f2ada610..7a05a853 100644
--- a/src/manager/tileChangeObserveManager.c
+++ b/src/manager/tileChangeObserveManager.c
@@ -26,14 +26,14 @@ void TileChangeObserveManager_Main(TileChangeObserveManager* this) {
}
void TileChangeObserveManager_Init(TileChangeObserveManager* this) {
- u16* tile;
+ u16* tileIndex;
if (CheckFlags(this->flag) != 0) {
DeleteThisEntity();
} else {
super->action = 1;
- tile = &GetLayerByIndex(this->field_0x3a)->mapData[this->tilePosition];
- this->observedTile = tile;
- this->initialTile = tile[0];
+ tileIndex = &GetLayerByIndex(this->field_0x3a)->mapData[this->tilePos];
+ this->observedTile = tileIndex;
+ this->initialTile = tileIndex[0];
}
}