mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 05:15:10 +00:00
added a bandage to a huge wound (collisionsystem wasn't calling the two callbacks, just one, now it's still only one, but the bonuses are applied only if you're on them
This commit is contained in:
@@ -21,10 +21,6 @@ namespace BBM
|
||||
const WAL::Entity &wall,
|
||||
CollisionComponent::CollidedAxis collidedAxis)
|
||||
{
|
||||
auto name = entity.getName();
|
||||
if (name == "Unbreakable Wall" || name == "Breakable Block") {
|
||||
name = "salut";
|
||||
}
|
||||
auto *mov = entity.tryGetComponent<MovableComponent>();
|
||||
|
||||
if (!mov)
|
||||
|
||||
Reference in New Issue
Block a user