diff options
Diffstat (limited to 'src/manager/flameManager.c')
| -rw-r--r-- | src/manager/flameManager.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/manager/flameManager.c b/src/manager/flameManager.c index 6140730e..a363ebe0 100644 --- a/src/manager/flameManager.c +++ b/src/manager/flameManager.c @@ -14,20 +14,20 @@ void FlameManager_Main(FlameManager* this) { if (super->action == 0) { - this->tilePos = TILE(this->tilePos, this->field_0x3a); - if (GetTileTypeAtTilePos(this->tilePos, LAYER_TOP) == TILE_TYPE_117) { + this->x = TILE(this->x, this->y); + if (GetTileTypeAtTilePos(this->x, LAYER_TOP) == TILE_TYPE_117) { super->action = 1; - SetTile(SPECIAL_TILE_106, this->tilePos, LAYER_BOTTOM); + SetTile(SPECIAL_TILE_106, this->x, LAYER_BOTTOM); } else { DeleteThisEntity(); } } - if (GetTileTypeAtTilePos(this->tilePos, LAYER_BOTTOM) == SPECIAL_TILE_107) { - sub_0807B7D8(TILE_TYPE_118, this->tilePos, LAYER_TOP); + if (GetTileTypeAtTilePos(this->x, LAYER_BOTTOM) == SPECIAL_TILE_107) { + sub_0807B7D8(TILE_TYPE_118, this->x, LAYER_TOP); DeleteThisEntity(); } - if (GetTileTypeAtTilePos(this->tilePos, LAYER_TOP) == TILE_TYPE_118) { - SetTile(SPECIAL_TILE_107, this->tilePos, LAYER_BOTTOM); + if (GetTileTypeAtTilePos(this->x, LAYER_TOP) == TILE_TYPE_118) { + SetTile(SPECIAL_TILE_107, this->x, LAYER_BOTTOM); DeleteThisEntity(); } } |
