예제 #1
0
void SpawnMonitor::zoneChanged( const QString& newZoneName )
{
  if ( m_zoneName != newZoneName )
  {
    saveSpawnPoints();
    
    clear();
    m_zoneName = newZoneName;
    
    loadSpawnPoints();
  }
}
예제 #2
0
void SpawnMonitor::zoneEnd( const QString& newZoneName )
{
  QString lower = newZoneName.lower();
  
  if ( m_zoneName != lower )
  {
    saveSpawnPoints();
    m_zoneName = lower;
    clear();
    loadSpawnPoints();
  }
}
예제 #3
0
NPCConfig::NPCConfig ( void )
{
	loadSpawnPoints () ;
}