Hopefully fix ancient satlink crash bug.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1735 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2007-05-28 21:41:04 +00:00
parent 6a8abcb158
commit 1cc2b86251
1 changed files with 1 additions and 0 deletions

View File

@ -4479,6 +4479,7 @@ BOOL validLocation(BASE_STATS *psStats, UDWORD x, UDWORD y, UDWORD player,
case REF_BLASTDOOR:
case REF_REARM_PAD:
case REF_MISSILE_SILO:
case REF_SAT_UPLINK:
/*need to check each tile the structure will sit on is not water*/
for (i = site.xTL; i <= site.xBR && valid; i++)
{