summaryrefslogtreecommitdiff
path: root/src/object/rotatingTrapdoor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/rotatingTrapdoor.c')
-rw-r--r--src/object/rotatingTrapdoor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/rotatingTrapdoor.c b/src/object/rotatingTrapdoor.c
index d9232a74..f8e05f49 100644
--- a/src/object/rotatingTrapdoor.c
+++ b/src/object/rotatingTrapdoor.c
@@ -31,7 +31,7 @@ void RotatingTrapdoor_Init(Entity* this) {
this->action = 1;
x = 0;
y = 0;
- switch (GetMetaTileTypeByEntity(this)) {
+ switch (GetTileTypeByEntity(this)) {
case 0x343:
x = 0x10;
case 0x344: