equal
deleted
inserted
replaced
38 if (not CurrentTeam^.ExtDriven) then |
38 if (not CurrentTeam^.ExtDriven) then |
39 begin |
39 begin |
40 NetGetNextCmd; // its for the case of receiving "/say" message |
40 NetGetNextCmd; // its for the case of receiving "/say" message |
41 isInLag:= false; |
41 isInLag:= false; |
42 inc(SendEmptyPacketTicks, Lag); |
42 inc(SendEmptyPacketTicks, Lag); |
43 if (SendEmptyPacketTicks >= cSendEmptyPacketTime) and not ((GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet))) then |
43 if (SendEmptyPacketTicks >= cSendEmptyPacketTime) then |
44 begin |
44 begin |
45 SendIPC('+'); |
45 SendIPC('+'); |
46 SendEmptyPacketTicks:= 0 |
46 SendEmptyPacketTicks:= 0 |
47 end |
47 end |
48 end; |
48 end; |