`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> |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |