|
From: <cn...@us...> - 2023-03-15 18:25:00
|
Revision: 1347
http://sourceforge.net/p/seq/svn/1347
Author: cn187
Date: 2023-03-15 18:24:57 +0000 (Wed, 15 Mar 2023)
Log Message:
-----------
Honor depth filtered setting when drawing map locations
Modified Paths:
--------------
showeq/trunk/src/mapcore.cpp
Modified: showeq/trunk/src/mapcore.cpp
===================================================================
--- showeq/trunk/src/mapcore.cpp 2023-03-15 18:24:47 UTC (rev 1346)
+++ showeq/trunk/src/mapcore.cpp 2023-03-15 18:24:57 UTC (rev 1347)
@@ -2238,6 +2238,10 @@
{
MapLocation* currentLoc = *lit;
+ if (param.mapLineStyle() == tMap_DepthFiltered && currentLoc->heightSet() &&
+ !inRoom(param.playerHeadRoom(), param.playerFloorRoom(), currentLoc->z()))
+ continue; // outside of range, continue to the next location
+
// set the color
QColor color(currentLoc->color());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|