Blow up the walls as well when a player leaves/drops.

We don't need reminders of their wall building skills.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6678 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2009-02-21 22:16:25 +00:00
parent 9e0767ecfd
commit 19a76d4320
1 changed files with 3 additions and 5 deletions

View File

@ -154,11 +154,9 @@ void clearPlayer(UDWORD player,BOOL quietly,BOOL removeOil)
}
else
{
if( (psStruct->pStructureType->type != REF_WALL &&
psStruct->pStructureType->type != REF_WALLCORNER ) )
{
destroyStruct(psStruct);
}
// NOTE: when a player leaves, we should destroy everything, including the walls
// Is there any reason why not to do this? (removed wall check code)
destroyStruct(psStruct);
}
if(bTemp)