|
From: <xer...@us...> - 2026-07-30 16:08:47
|
Revision: 1690
http://sourceforge.net/p/seq/svn/1690
Author: xerxes00
Date: 2026-07-30 16:08:44 +0000 (Thu, 30 Jul 2026)
Log Message:
-----------
Suppress spurious "zone name not set" warning on first zone-in
Mirror of xerxes-trunk-dev r1689. saveSpawnPoints() flushes the previous
zone before the new name is set, so the session's first flush has an
empty zone name - expected (no prior zone to save), not an error. Return
quietly. zoneNameFromID() synthesizes "unk_zone_<id>" for unrecognized
ids, so a real zone never reaches this path empty.
Modified Paths:
--------------
showeq/branches/showeqlegends/src/spawnmonitor.cpp
Modified: showeq/branches/showeqlegends/src/spawnmonitor.cpp
===================================================================
--- showeq/branches/showeqlegends/src/spawnmonitor.cpp 2026-07-30 16:07:55 UTC (rev 1689)
+++ showeq/branches/showeqlegends/src/spawnmonitor.cpp 2026-07-30 16:08:44 UTC (rev 1690)
@@ -286,7 +286,9 @@
if ( !m_zoneName.length() )
{
- seqWarn("Zone name not set in 'SpawnMonitor::saveSpawnPoints'!" );
+ // Expected on the first zone of a session: spawn points get recorded
+ // before the zone name is set, so the initial flush has no prior zone
+ // to save. Return quietly - not an error.
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|