Cap minimap zoom like in sidemods. Removes need for a CVar.

This commit is contained in:
Mari the Deer 2023-10-13 12:11:13 +02:00
commit eb3cae5d43
8 changed files with 13 additions and 28 deletions

View file

@ -276,7 +276,7 @@ extend Class SWWMHandler
return;
}
// update trackers for anything around the player
double viewdist = SWWMStatusBar.MAPVIEWDIST*swwm_mm_zoom;
double viewdist = SWWMStatusBar.MAPVIEWDIST;
// still about as expensive as using a BlockThingsIterator, but without the need to allocate one every tic
int thisgroup = players[consoleplayer].Camera.CurSector.portalgroup;
foreach ( s:level.Sectors ) for ( Actor a=s.thinglist; a; a=a.snext )