index adc285cb1c5b23030d40eed3366d3ec45a4d2d12..64681c3946e49dc51d88e16a0bf428249471d307 100644 (file)
--- a/src/game/g_netmaster.pas
+++ b/src/game/g_netmaster.pas
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
-{$MODE DELPHI}
+{$INCLUDE g_amodes.inc}
unit g_netmaster;
interface
uses
SysUtils, e_fixedbuffer, e_input, e_graphics, e_log, g_window, g_net, g_console,
- g_map, g_game, g_sound, g_textures, g_gui, g_menu, g_options, g_language, wadreader,
- ENetPlatform;
+ g_map, g_game, g_sound, g_textures, g_gui, g_menu, g_options, g_language, wadreader;
var
NetMEvent: ENetEvent;
Cnt := e_Raw_Read_Byte(NetMEvent.packet^.data);
e_WriteLog('Retrieved ' + IntToStr(Cnt) + ' server(s).', MSG_NOTIFY);
g_Console_Add(_lc[I_NET_MSG] + Format(_lc[I_NET_SLIST_RETRIEVED], [Cnt]), True);
+ //writeln('BOO!');
if Cnt > 0 then
begin