From 557750eb662a9e0abd1385bc9f3e84d6425b69d3 Mon Sep 17 00:00:00 2001 From: robojumper Date: Fri, 20 Sep 2024 22:59:13 +0200 Subject: [PATCH] Fix --- include/d/a/obj/d_a_obj_switch.h | 4 ++-- src/d/a/obj/d_a_obj_switch.cpp | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/d/a/obj/d_a_obj_switch.h b/include/d/a/obj/d_a_obj_switch.h index 3ad03994..335517ec 100644 --- a/include/d/a/obj/d_a_obj_switch.h +++ b/include/d/a/obj/d_a_obj_switch.h @@ -5,8 +5,9 @@ #include #include #include -#include #include +#include + // OBJ_VSD? class dAcOScatterSand_tmp : public dAcObjBase_c { @@ -64,7 +65,6 @@ class dAcOsw_c : public dAcObjBase_c { static void interactCallback(void *unknown, dAcBase_c *actor, dAcObjBase_c *interactor); private: - /* 0x330 */ m3d::mdl_c mModel; /* 0x354 */ ActorCollision mCollision; /* 0x564 */ STATE_MGR_DECLARE(dAcOsw_c); diff --git a/src/d/a/obj/d_a_obj_switch.cpp b/src/d/a/obj/d_a_obj_switch.cpp index e8cc87e8..9bbce3d6 100644 --- a/src/d/a/obj/d_a_obj_switch.cpp +++ b/src/d/a/obj/d_a_obj_switch.cpp @@ -30,10 +30,6 @@ static bool isPushableBlock(dAcBase_c *actor) { actor->profile_name == fProfile::OBJ_KIBAKO; } -inline static bool someCondition(dAcPy_c *link) { - // return ; -} - void dAcOsw_c::interactCallback(void *unknown, dAcBase_c *actor, dAcObjBase_c *interactor) { if (!isPushableBlock(interactor)) { return;