forked from mirror/OpenTTD
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "cheat_func.h"
|
||||
#include "window_func.h"
|
||||
#include "tilehighlight_func.h"
|
||||
#include "network/network.h"
|
||||
|
||||
#include "table/sprites.h"
|
||||
|
||||
@@ -1984,7 +1985,7 @@ void UpdateWindows()
|
||||
FOR_ALL_WINDOWS(wz) {
|
||||
if ((*wz)->viewport != NULL) UpdateViewportPosition(*wz);
|
||||
}
|
||||
DrawChatMessage();
|
||||
NetworkDrawChatMessage();
|
||||
/* Redraw mouse cursor in case it was hidden */
|
||||
DrawMouseCursor();
|
||||
}
|
||||
|
Reference in New Issue
Block a user