diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2024-01-06 14:59:48 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2024-01-06 15:01:44 +0100 |
| commit | aced0bef691dbc41bdd39b6e62662d2436877a4b (patch) | |
| tree | e90f9fd8e4c4c3471c2fb246bb1372974294b469 /src/manager/tileChangeObserveManager.c | |
| parent | c3b771a20923b335bbea2ab97a68ac29d04fcc43 (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.c | 8 |
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]; } } |
