|
From: <cn...@us...> - 2021-12-08 04:09:13
|
Revision: 1227
http://sourceforge.net/p/seq/svn/1227
Author: cn187
Date: 2021-12-08 04:09:11 +0000 (Wed, 08 Dec 2021)
Log Message:
-----------
Honor depth filtered setting when drawing map locations
Modified Paths:
--------------
showeq/branches/cn187_devel/src/mapcore.cpp
Modified: showeq/branches/cn187_devel/src/mapcore.cpp
===================================================================
--- showeq/branches/cn187_devel/src/mapcore.cpp 2021-12-07 21:10:45 UTC (rev 1226)
+++ showeq/branches/cn187_devel/src/mapcore.cpp 2021-12-08 04:09:11 UTC (rev 1227)
@@ -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.
|