From 3e47edb677a66e017bf46c25de22e841a709ec11 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 3 Oct 2023 13:36:19 +0200 Subject: [PATCH] Revert "fixed CollisionData export." This reverts commit fe0219060457f14c34ab5362a61460884cd834ed. --- source/core/thingdef_data.cpp | 4 ---- source/core/vmexports.cpp | 2 -- 2 files changed, 6 deletions(-) diff --git a/source/core/thingdef_data.cpp b/source/core/thingdef_data.cpp index a7ae41583..3b18ba635 100644 --- a/source/core/thingdef_data.cpp +++ b/source/core/thingdef_data.cpp @@ -439,10 +439,6 @@ void InitThingdef() } ); - auto collstruct = NewStruct("Collision", nullptr, true); - collstruct->Size = sizeof(CollisionBase); - collstruct->Align = alignof(CollisionBase); - auto sidestruct = NewStruct("TSprite", nullptr, true); sidestruct->Size = sizeof(tspritetype); diff --git a/source/core/vmexports.cpp b/source/core/vmexports.cpp index 6a683dc89..a07314826 100644 --- a/source/core/vmexports.cpp +++ b/source/core/vmexports.cpp @@ -1028,8 +1028,6 @@ DEFINE_ACTION_FUNCTION_NATIVE(DCoreActor, spritetexture, CoreActor_spritetexture -DEFINE_FIELD_X(Collision, CollisionBase, type) -DEFINE_FIELD_X(Collision, CollisionBase, exbits) walltype* collision_getwall(CollisionBase* coll) {