This commit is contained in:
aozhiwei 2021-03-11 17:43:37 +08:00
parent f81d20b4b7
commit 2693e58fc8

View File

@ -202,7 +202,10 @@ void RoomObstacle::Explosion()
}
});
a8::Vec2 bomb_pos = GetPos();
room->frame_event.AddExplosionEx(master, meta->i->thing_id(), bomb_pos, 0);
room->frame_event.AddExplosionEx(master,
meta->i->thing_id(),
bomb_pos,
meta->i->explosion_effect());
for (auto& target : objects) {
switch (target->GetEntityType()) {
case ET_Player: