Merge branch 'master' into jgrpp
# Conflicts: # src/console_cmds.cpp # src/landscape.cpp # src/linkgraph/linkgraphschedule.cpp # src/openttd.cpp # src/roadveh_cmd.cpp # src/toolbar_gui.cpp # src/train_cmd.cpp # src/vehicle.cpp # src/viewport.cpp # src/window_type.h
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "demands.h"
|
||||
#include "mcf.h"
|
||||
#include "flowmapper.h"
|
||||
#include "../framerate_type.h"
|
||||
#include "../command_func.h"
|
||||
#include <algorithm>
|
||||
|
||||
@@ -352,6 +353,7 @@ void OnTick_LinkGraph()
|
||||
if (offset == 0) {
|
||||
LinkGraphSchedule::instance.SpawnNext();
|
||||
} else if (offset == interval / 2) {
|
||||
PerformanceMeasurer framerate(PFE_GL_LINKGRAPH);
|
||||
LinkGraphSchedule::instance.JoinNext();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user