dxx-rebirth/similar
Kp ac4f76136b object_create_explosion_sub: check object type before checking flash
`explode_badass_player` can pass an OBJ_PLAYER, not an OBJ_WEAPON, as
`obj_explosion_origin`.  Using `get_weapon_id` on a non-weapon is wrong
and provokes a diagnostic.  The test tries to check if the passed object
is _not_ a flash missile.  Players are not flash missiles, so maintain
the intended semantics by treating non-weapons as not-flash-missiles.

Reported-by: Johnsondr80 <https://github.com/dxx-rebirth/dxx-rebirth/issues/437>
2019-07-27 17:48:03 +00:00
..
2d Downgrade PCX failures from Error to CON_URGENT 2019-07-07 22:00:02 +00:00
3d Use xrange for loops with zero start and simple identifier end 2019-05-04 18:27:37 +00:00
arch Fix build of SDL-only gr.cpp 2019-07-07 22:00:02 +00:00
editor Use enumerate() to iterate some MAX_SIDES_PER_SEGMENT loops 2019-05-04 18:27:37 +00:00
main object_create_explosion_sub: check object type before checking flash 2019-07-27 17:48:03 +00:00
misc Fix various gcc-9 -Wformat-truncation warnings 2019-05-06 00:36:16 +00:00