Go to file
Kp 5114b8f8b6 Fix object corruption loading save game
Saved games dump robot ai_local state for all objects, regardless of
whether the object is a robot.  Loading a game restored all ai_local
values, regardless of whether the object was a robot on restore.  This
caused memory corruption in objects that were not robots when the
`ctype.`_T_ for that object was large enough to overlap
`ctype.ai_info.ail`.

Fix this by loading the ai_local into a junk buffer when the object is
not a robot.  It would be better to skip over the bogus ai_local
entirely, but the structure of ai_local_read_swap makes that difficult.
Use the easy fix for now.
2016-10-08 23:24:21 +00:00
common Switch DXX_HAVE_POISON_VALGRIND to 0/1 instead of undef/defined 2016-10-08 23:24:21 +00:00
contrib Add -O0 flags for the Debug and Editor builds in Xcode. 2016-09-28 11:18:46 +08:00
d1x-rebirth Save some editor gadget pointers 2016-09-24 18:06:11 +00:00
d2x-rebirth Pass vcsegidx_t to exists*_in_mine 2016-10-08 03:34:17 +00:00
Documentation Update documentation and test to exclude <gcc-4.9 2016-08-14 23:47:26 +00:00
similar Fix object corruption loading save game 2016-10-08 23:24:21 +00:00
.gitignore ignore XCode user data 2014-12-06 22:43:12 -08:00
COPYING.txt corrected typo in COPYING.txt (it's to its) 2014-06-06 13:18:52 +02:00
GPL-3.txt Changed custom D1X license to GPLv3 2014-06-01 19:55:23 +02:00
INSTALL.markdown Add kreator's elaborations to Mac OS X install instructions 2016-09-11 18:49:16 +00:00
SConstruct Switch DXX_HAVE_POISON_VALGRIND to 0/1 instead of undef/defined 2016-10-08 23:24:21 +00:00