dxx-rebirth/similar
Kp cc885f17a3 Use init_ai_object for dropped robots
zicodxx reported a problem where poison=overwrite builds caused robots
dropped by other robots not to spawn.  I diagnosed it as a problem
caused by not setting `dying_start_time` and proposed using
`init_ai_object` to set this (and other) fields.  Kreatordxx posted pull
request #311 to implement this for dropped robots.  However, his pull
had the unfortunate side effect of zeroing the dropped robot's velocity.
This change is based on his pull, but with the `init_ai_object` call
moved higher so that the velocity is (unnecessarily) zeroed by
`init_ai_object`, then initialized to `new_velocity` by `drop_powerup`
(as it always was).

Reported-by: zicodxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/293>
Patch-inspired-by: kreatordxx <https://github.com/dxx-rebirth/dxx-rebirth/pull/311>
2017-01-17 02:38:21 +00:00
..
2d Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
3d Factor out point_list setup 2017-01-01 00:45:45 +00:00
arch Pass active palette to ogl_loadtexture 2017-01-15 00:03:13 +00:00
editor Merge pull request #298 from dxx-rebirth/no_game_wind_close 2017-01-09 09:32:24 +08:00
main Use init_ai_object for dropped robots 2017-01-17 02:38:21 +00:00
misc Fix failure to unmap custom hogs 2016-12-17 18:39:18 +00:00