mirror of https://github.com/OpenTTD/OpenTTD.git
Fix #7050: Missing guard around network chat message function for compiling with networking disabled. (#7058)
This commit is contained in:
parent
750927372f
commit
89f0017a67
|
@ -3100,11 +3100,13 @@ void UpdateWindows()
|
|||
|
||||
CallWindowRealtimeTickEvent(delta_ms);
|
||||
|
||||
#ifdef ENABLE_NETWORKING
|
||||
static GUITimer network_message_timer = GUITimer(1);
|
||||
if (network_message_timer.Elapsed(delta_ms)) {
|
||||
network_message_timer.SetInterval(1000);
|
||||
NetworkChatMessageLoop();
|
||||
}
|
||||
#endif
|
||||
|
||||
Window *w;
|
||||
|
||||
|
|
Loading…
Reference in New Issue