src/game/Tactical/Keys.cc
void RemoveDoorInfoFromTable( INT32 iMapIndex )
{
	for (size_t i = 0; i < DoorTable.size(); i++)
	{
		if (DoorTable[ i ].sGridNo == iMapIndex)
		{
			DoorTable.erase(DoorTable.begin() + i);
			return;
		}
	}
}
//When the editor removes a door from the world, this function looks for and removes accompanying door
//information.  If the entry is not the last entry, the last entry is move to it's current slot, to keep
//everything contiguous.
When the editor removes a door from the world, this function looks for and removes accompanying door
information.  If the entry is not the last entry, the last entry is move to it's current slot, to keep
everything contiguous.
When the editor removes a door from the world this function looks for and removes accompanying door information . If the entry is not the last entry the last entry is move to it ' s current slot to keep everything contiguous .
void RemoveDoorInfoFromTable( INT32 iMapIndex )
{
	for (size_t i = 0; i < DoorTable.size(); i++)
	{
		if (DoorTable[ i ].sGridNo == iMapIndex)
		{
			DoorTable.erase(DoorTable.begin() + i);
			return;
		}
	}
}
void RemoveDoorInfoFromTable ( INT32 iMapIndex ) { for ( size_t i = 0 ; i < DoorTable . size ( ) ; i ++ ) { if ( DoorTable [ i ] . sGridNo == iMapIndex ) { DoorTable . erase ( DoorTable . begin ( ) + i ) ; return ; } } }
When the editor removes a door from the world, this function looks for and removes accompanying door
information.
When the editor removes a door from the world this function looks for and removes accompanying door information .