mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
(svn r25570) -Add: cache for ParagraphLayouts.
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
#include "game/game_config.hpp"
|
||||
#include "town.h"
|
||||
#include "subsidy_func.h"
|
||||
#include "gfx_layout.h"
|
||||
|
||||
|
||||
#include "linkgraph/linkgraphschedule.h"
|
||||
@@ -1318,6 +1319,8 @@ void StateGameLoop()
|
||||
|
||||
ClearStorageChanges(false);
|
||||
|
||||
Layouter::ReduceLineCache();
|
||||
|
||||
if (_game_mode == GM_EDITOR) {
|
||||
RunTileLoop();
|
||||
CallVehicleTicks();
|
||||
|
||||
Reference in New Issue
Block a user