diff options
Diffstat (limited to 'src/object/object30.c')
| -rw-r--r-- | src/object/object30.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/object30.c b/src/object/object30.c index 196a3bc4..12bd96a4 100644 --- a/src/object/object30.c +++ b/src/object/object30.c @@ -39,12 +39,12 @@ void Object30(Object30Entity* this) { } void Object30_Init(Object30Entity* this) { - LayerStruct* data; + MapLayer* mapLayer; const u16* ptr; switch (super->type) { case 0: - data = GetLayerByIndex(super->collisionLayer); - ptr = &data->mapData[sub_0806F798(super)]; + mapLayer = GetLayerByIndex(super->collisionLayer); + ptr = &mapLayer->mapData[sub_0806F798(super)]; this->unk_6c = (u16*)ptr; this->unk_68 = ptr[0]; super->action = 1; |
