GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf6da7
)
unforward correct ping port
author
fgsfds <pvt.fgsfds@gmail.com>
Mon, 24 Feb 2020 17:05:24 +0000
(20:05 +0300)
committer
fgsfds <pvt.fgsfds@gmail.com>
Mon, 24 Feb 2020 17:05:24 +0000
(20:05 +0300)
src/game/g_net.pas
patch
|
blob
|
history
diff --git
a/src/game/g_net.pas
b/src/game/g_net.pas
index 95b2319e6acd1eb2f92a7f599de2ce1af7011800..0c01dd925fffd40aac9d0e98aeae874916ce294b 100644
(file)
--- a/
src/game/g_net.pas
+++ b/
src/game/g_net.pas
@@
-2343,12
+2343,12
@@
begin
if NetPongForwarded then
begin
NetPongForwarded := False;
- StrPort := IntToStr(N
etPortForwarded + 1
);
+ StrPort := IntToStr(N
ET_PING_PORT
);
I := UPNP_DeletePortMapping(
PChar(NetIGDControl), Addr(NetIGDService[1]),
PChar(StrPort), PChar('UDP'), nil
);
- conwritefln(' port %d: %d', [N
etPortForwarded + 1
, I]);
+ conwritefln(' port %d: %d', [N
ET_PING_PORT
, I]);
end;
NetPortForwarded := 0;
DEADSOFTWARE 2012-2025