empserver/src/lib
Markus Armbruster afb512fad7 Fix relation checks in load, unload, lload, lunload
The check for ship owner's relations to the player was backward: it
checked the player's relations to the ship's owner instead.  Abusable:
you could load and unload any ship by declaring friendly to its owner.
Broken since Chainsaw let you load and unload friendly ships.

The check for land unit owner's relations to the player was similarly
backward, similarly abusable, and also broken since day one.

lload and lunload checked sector owner's relations to the land unit's
owner instead of to the player.  Harmless, because the two must be the
same to reach the check.
2009-01-06 14:59:01 +01:00
..
as Fix trailing whitespace 2008-09-17 21:31:40 -04:00
commands Fix relation checks in load, unload, lload, lunload 2009-01-06 14:59:01 +01:00
common Fix line break accident 2008-12-28 18:26:46 +01:00
empthread Fix trailing whitespace 2008-09-17 21:31:40 -04:00
gen Fix trailing whitespace 2008-09-17 21:31:40 -04:00
global Remove econfig key mission_mob_cost 2008-12-25 11:47:33 +01:00
lwp Fix trailing whitespace 2008-09-17 21:31:40 -04:00
player Make the "You lost your capital" message point to info capital 2008-12-28 18:26:46 +01:00
subs Make sure land units with maximum mobility can attack mountains 2008-12-28 18:26:45 +01:00
update Remove commented out logerror() calls 2008-12-14 10:45:34 -05:00
w32 Fix trailing whitespace 2008-09-17 21:31:40 -04:00