mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 21:38:39 -04:00
update automap while playing
This commit is contained in:
parent
c42c0dae99
commit
1486a7e310
@ -230,7 +230,11 @@ void D_Display (void)
|
||||
if (!gametic)
|
||||
break;
|
||||
if (automapactive)
|
||||
{
|
||||
// [FG] update automap while playing
|
||||
R_RenderPlayerView (&players[displayplayer]);
|
||||
AM_Drawer();
|
||||
}
|
||||
if (wipe || (scaledviewheight != 200 && fullscreen) // killough 11/98
|
||||
|| (inhelpscreensstate && !inhelpscreens))
|
||||
redrawsbar = true; // just put away the help screen
|
||||
|
@ -621,6 +621,10 @@ void R_RenderPlayerView (player_t* player)
|
||||
// The head node is the last node output.
|
||||
R_RenderBSPNode (numnodes-1);
|
||||
|
||||
// [FG] update automap while playing
|
||||
if (automapactive)
|
||||
return;
|
||||
|
||||
// Check for new console commands.
|
||||
NetUpdate ();
|
||||
|
||||
|
@ -395,6 +395,10 @@ void R_StoreWallRange(const int start, const int stop)
|
||||
// mark the segment as visible for auto map
|
||||
linedef->flags |= ML_MAPPED;
|
||||
|
||||
// [FG] update automap while playing
|
||||
if (automapactive)
|
||||
return;
|
||||
|
||||
// calculate rw_distance for scale calculation
|
||||
rw_normalangle = curline->r_angle + ANG90; // [FG] use re-calculated seg angles
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user