dxx-rebirth/similar
Kp e127072f21 Add special case to make past releases not die on MarkerObject
All releases to date have a bug where they treat MarkerObject as an int,
not an object number.  Storing object_none (0xffff) into the save file
causes affected releases to exhibit several problems.  Most obviously,
they crash if the automap is opened, because they try to show
Objects[0xffff] as a marker, but no such object exists.  Additionally,
they refuse to let the player drop a marker because none of the elements
of MarkerObject are -1, so they incorrectly tell the player that all
marker slots are busy.  Finally, they will crash if the guidebot is
killed, because the guidebot death code deletes marker 0xffff because it
fails to recognize that this is object_none.

Current code correctly treats object_none as a non-object and works
correctly without this hack.  The hack is only required to get past
releases to work correctly after loading a saved game written by current
code.

Fixes: 9125ae32cd ("Make objnum unsigned")
2017-01-21 19:05:43 +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 Use range_for in editor/group.cpp 2017-01-21 19:05:42 +00:00
main Add special case to make past releases not die on MarkerObject 2017-01-21 19:05:43 +00:00
misc Fix failure to unmap custom hogs 2016-12-17 18:39:18 +00:00