summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index fdde19140..0e0b4188a 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1473,10 +1473,6 @@ void GameLoop()
IncreaseSpriteLRU();
InteractiveRandom();
- extern int _caret_timer;
- _caret_timer += 3;
- CursorTick();
-
#ifdef ENABLE_NETWORK
/* Check for UDP stuff */
if (_network_available) NetworkBackgroundLoop();
@@ -1493,13 +1489,6 @@ void GameLoop()
/* Singleplayer */
StateGameLoop();
}
-
- /* Check chat messages roughly once a second. */
- static uint check_message = 0;
- if (++check_message > 1000 / MILLISECONDS_PER_TICK) {
- check_message = 0;
- NetworkChatMessageLoop();
- }
#else
StateGameLoop();
#endif /* ENABLE_NETWORK */