Changeset - r24980:396f4e65e0ea
[Not reviewed]
master
0 1 0
Charles Pigott - 4 years ago 2021-02-28 21:28:21
charlespigott@googlemail.com
Change: Zero out the gameloop timers when the game is paused
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/framerate_gui.cpp
Show inline comments
 
@@ -274,6 +274,7 @@ void PerformanceMeasurer::SetExpectedRat
 
 */
 
/* static */ void PerformanceMeasurer::Paused(PerformanceElement elem)
 
{
 
	PerformanceMeasurer::SetInactive(elem);
 
	_pf_data[elem].AddPause(GetPerformanceTimer());
 
}
 

	
0 comments (0 inline, 0 general)