dxx-rebirth/similar
Kp abb000177a Move bm_read_reactor object type check into if(D1)
In Descent 2, `type` is initialized at declaration time, then never
rewritten.  At the end of the function, `Error` is called if `type` has
not been rewritten.  Originally, `type` was hard reset to
`OL_CONTROL_CENTER`, but this reinitialization was removed when
`ObjType` and related data were removed from Descent 2.

Reported-by: InsanityBringer <https://github.com/dxx-rebirth/dxx-rebirth/issues/464> (issue 3)
Fixes: ea7ba7ae87 ("remove ObjType, ObjId, ObjStrength and OL_ constants; use "object" instead of "robot" in some places; draw and place reactors with correct modelnum")
2019-11-18 00:22:34 +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 add hack for MCI or CD driver bug (?) 2019-10-27 02:48:20 +03:00
editor Use enumerate() to iterate some MAX_SIDES_PER_SEGMENT loops 2019-05-04 18:27:37 +00:00
main Move bm_read_reactor object type check into if(D1) 2019-11-18 00:22:34 +00:00
misc Fix externally reported Mac OS X build break 2019-10-23 03:02:16 +00:00