1
This commit is contained in:
commit
63d9b426aa
@ -291,7 +291,14 @@ void Obstacle::Explosion(Bullet* bullet)
|
||||
}
|
||||
});
|
||||
a8::Vec2 bomb_pos = GetPos();
|
||||
#if 1
|
||||
room->frame_event.AddExplosionEx(bullet->sender,
|
||||
meta->i->thing_id(),
|
||||
bomb_pos,
|
||||
meta->i->explosion_effect());
|
||||
#else
|
||||
room->frame_event.AddExplosion(bullet, meta->i->thing_id(), bomb_pos);
|
||||
#endif
|
||||
for (auto& target : objects) {
|
||||
switch (target->GetEntityType()) {
|
||||
case ET_Player:
|
||||
|
Loading…
x
Reference in New Issue
Block a user