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-861f7616d084master
parent
9e0767ecfd
commit
19a76d4320
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue