Forward port a fix from 2.3 for bad visibility data when changing missions
that closes ticket:1546 and closes ticket:1524 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9809 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
823cf96eeb
commit
018b64662c
|
@ -655,6 +655,11 @@ void missionFlyTransportersIn( SDWORD iPlayer, BOOL bTrackTransporter )
|
|||
// Check that this transporter actually contains some droids
|
||||
if (psTransporter->psGroup && psTransporter->psGroup->refCount > 1)
|
||||
{
|
||||
// Remove map information from previous map
|
||||
free(psTransporter->watchedTiles);
|
||||
psTransporter->watchedTiles = NULL;
|
||||
psTransporter->numWatchedTiles = 0;
|
||||
|
||||
// Remove out of stored list and add to current Droid list
|
||||
if (droidRemove(psTransporter, mission.apsDroidLists))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue