|
From: <xer...@us...> - 2026-07-30 16:07:56
|
Revision: 1689
http://sourceforge.net/p/seq/svn/1689
Author: xerxes00
Date: 2026-07-30 16:07:55 +0000 (Thu, 30 Jul 2026)
Log Message:
-----------
Suppress spurious "zone name not set" warning on first zone-in
saveSpawnPoints() flushes the previous zone's points before the new
zone name is set, so the first flush of a session has an empty zone
name. That is expected - there is no prior zone to save - not an error.
Return quietly instead of warning.
A real zone never reaches this path empty: zoneNameFromID() synthesizes
"unk_zone_<id>" for unrecognized zone ids, so the empty case only ever
occurs on the session's first flush.
Modified Paths:
--------------
showeq/branches/xerxes-trunk-dev/src/spawnmonitor.cpp
Modified: showeq/branches/xerxes-trunk-dev/src/spawnmonitor.cpp
===================================================================
--- showeq/branches/xerxes-trunk-dev/src/spawnmonitor.cpp 2026-07-30 15:31:08 UTC (rev 1688)
+++ showeq/branches/xerxes-trunk-dev/src/spawnmonitor.cpp 2026-07-30 16:07:55 UTC (rev 1689)
@@ -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.
|