summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d3967cf)
raw | patch | inline | side by side (parent: d3967cf)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Fri, 9 Feb 2018 16:02:14 +0000 (19:02 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Fri, 9 Feb 2018 16:02:14 +0000 (19:02 +0300) |
src/game/g_player.pas | patch | blob | history |
diff --git a/src/game/g_player.pas b/src/game/g_player.pas
index a088f2851d2b03c2c3e702f2b83feeb0d6e99cd1..103d2f59bf949f86863e759432deea2dbbf584b9 100644 (file)
--- a/src/game/g_player.pas
+++ b/src/game/g_player.pas
FSpectatePlayer := -1;
FSpawned := True;
+ if (gPlayer1 = nil) and (gLMSPID1 = FUID) then
+ gPlayer1 := self;
+ if (gPlayer2 = nil) and (gLMSPID2 = FUID) then
+ gPlayer2 := self;
+
if g_Game_IsNet then
begin
MH_SEND_PlayerPos(True, FUID, NET_EVERYONE);