src/game/Tactical/Keys.cc
DOOR* FindDoorInfoAtGridNo( INT32 iMapIndex )
{
	FOR_EACH_DOOR(d)
	{
		if (d.sGridNo == iMapIndex) return &d;
	}
	return NULL;
}
//This is the link to see if a door exists at a gridno.
This is the link to see if a door exists at a gridno.
This is the link to see if a door exists at a gridno .
DOOR* FindDoorInfoAtGridNo( INT32 iMapIndex )
{
	FOR_EACH_DOOR(d)
	{
		if (d.sGridNo == iMapIndex) return &d;
	}
	return NULL;
}
DOOR * FindDoorInfoAtGridNo ( INT32 iMapIndex ) { FOR_EACH_DOOR ( d ) { if ( d . sGridNo == iMapIndex ) return & d ; } return NULL ; }
This is the link to see if a door exists at a gridno.
This is the link to see if a door exists at a gridno .