From 238329b29f8818a41e042e2828f2da92a0fbd54f Mon Sep 17 00:00:00 2001 From: Brockengespenst Date: Tue, 7 May 2024 18:05:52 +0200 Subject: [PATCH] Change PushButton collision goup to static --- src/object/pushbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/pushbutton.cpp b/src/object/pushbutton.cpp index d575a43bf45..1823b3cc0bf 100644 --- a/src/object/pushbutton.cpp +++ b/src/object/pushbutton.cpp @@ -30,7 +30,7 @@ const std::string BUTTON_SOUND = "sounds/switch.ogg"; } PushButton::PushButton(const ReaderMapping& mapping) : - MovingSprite(mapping, "images/objects/pushbutton/pushbutton.sprite", LAYER_BACKGROUNDTILES+1, COLGROUP_MOVING), + MovingSprite(mapping, "images/objects/pushbutton/pushbutton.sprite", LAYER_BACKGROUNDTILES+1, COLGROUP_STATIC), m_script(), m_state(OFF), m_dir(Direction::UP)