summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c147b5)
raw | patch | inline | side by side (parent: 2c147b5)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 1 Mar 2020 19:33:18 +0000 (22:33 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 1 Mar 2020 19:33:18 +0000 (22:33 +0300) |
src/game/g_net.pas | patch | blob | history | |
src/game/g_netmsg.pas | patch | blob | history | |
src/game/g_options.pas | patch | blob | history |
diff --git a/src/game/g_net.pas b/src/game/g_net.pas
index 6226f00f3d9cc23e084892717c30dd44b7cf3564..b658c3780919afd56bc5664576957791504d214b 100644 (file)
--- a/src/game/g_net.pas
+++ b/src/game/g_net.pas
NetPongSock: ENetSocket = ENET_SOCKET_NULL;
NetUseMaster: Boolean = True;
- NetMasterList: string = 'mpms.doom2d.org:25665,deadsoftware.ru:25665';
+ NetMasterList: string = 'mpms.doom2d.org:25665, deadsoftware.ru:25665';
NetClientIP: string = '127.0.0.1';
NetClientPort: Word = 25666;
diff --git a/src/game/g_netmsg.pas b/src/game/g_netmsg.pas
index c2e379b76d25e2b6890ed70f77dd52f8211c2306..57e51369af7a7d2f7f701b6a3e3bd79b8a39fcc3 100644 (file)
--- a/src/game/g_netmsg.pas
+++ b/src/game/g_netmsg.pas
FSpectator := M.ReadByte() <> 0;
if FSpectator then
begin
- if Pl = gPlayer1 then
+ if PID = NetPlrUID1 then
begin
gSpectLatchPID1 := UID;
gPlayer1 := nil;
end;
- if Pl = gPlayer2 then
+ if PID = NetPlrUID2 then
begin
gSpectLatchPID2 := UID;
gPlayer2 := nil;
diff --git a/src/game/g_options.pas b/src/game/g_options.pas
index 091935cb80b2b0eab96233a1680de41741e381a2..3f53262185953dc4fc8a1a306df54d3ef49cdd62 100644 (file)
--- a/src/game/g_options.pas
+++ b/src/game/g_options.pas
gsPlayers := 1;
(* section MasterServer *)
- NetMasterList := 'mpms.doom2d.org:25665,deadsoftware.ru:25665';
+ NetMasterList := 'mpms.doom2d.org:25665, deadsoftware.ru:25665';
g_Net_Slist_Set(NetMasterList);
(* section Server *)