@@ -3117,19 +3117,17 @@ void UpdateWindows()
PerformanceMeasurer framerate(PFE_DRAWING);
PerformanceAccumulator::Reset(PFE_DRAWWORLD);
CallWindowRealtimeTickEvent(delta_ms);
#ifdef ENABLE_NETWORK
static GUITimer network_message_timer = GUITimer(1);
if (network_message_timer.Elapsed(delta_ms)) {
network_message_timer.SetInterval(1000);
NetworkChatMessageLoop();
}
#endif
Window *w;
static GUITimer window_timer = GUITimer(1);
if (window_timer.Elapsed(delta_ms)) {
if (_network_dedicated) window_timer.SetInterval(MILLISECONDS_PER_TICK);
@@ -3440,16 +3438,15 @@ void ReInitAllWindows()
InitDepotWindowBlockSizes();
FOR_ALL_WINDOWS_FROM_BACK(w) {
w->ReInit();
void NetworkReInitChatBoxSize();
NetworkReInitChatBoxSize();
/* Make sure essential parts of all windows are visible */
RelocateAllWindows(_cur_resolution.width, _cur_resolution.height);
MarkWholeScreenDirty();