dxx-rebirth/similar
Kp 6cd6189681 Never pass nullptr to ai_door_is_openable
When objp is nullptr, ai_door_is_openable assumes Buddy_objnum is a
valid object number, but this assumption is not guaranteed to be true.
When it is false, the game crashes.  This crash can be triggered by a
brain robot trying to make nearby robots snipe.

Fix the crash by passing the robot of interest.

Reported-by: Yarn <http://www.dxx-rebirth.com/frm/index.php/topic,2165.0.html>
2017-02-19 19:33:45 +00:00
..
2d Use cached canvas in gr_string 2017-02-11 21:42:46 +00:00
3d Pass canvas to g3_check_and_draw_poly 2017-02-11 21:42:42 +00:00
arch Pass canvas to LINE_SPACING 2017-02-11 21:42:42 +00:00
editor Pass canvas to draw_model_picture 2017-02-19 19:33:44 +00:00
main Never pass nullptr to ai_door_is_openable 2017-02-19 19:33:45 +00:00
misc Fix check_header_includes=1 poison.h 2017-02-19 19:33:36 +00:00