Skip to content

Commit

Permalink
Change PushButton collision goup to static
Browse files Browse the repository at this point in the history
  • Loading branch information
Brockengespenst committed May 7, 2024
1 parent 1554046 commit 238329b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/pushbutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 238329b

Please sign in to comment.