mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 13:21:31 +00:00
Why does DD exist
This commit is contained in:
parent
da06b9417a
commit
490778cdab
2 changed files with 2 additions and 6 deletions
|
@ -83,7 +83,6 @@ void Command_Droprate(void);
|
|||
#ifdef DEBUGMODE
|
||||
void Command_Numnodes(void);
|
||||
#endif
|
||||
boolean NodeClosing(INT32 node);
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma pack(1)
|
||||
|
|
|
@ -274,6 +274,7 @@ static boolean GetFreeAcknum(UINT8 *freeack, boolean lowtimer)
|
|||
I_Error("Connection lost\n");
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/** Counts how many acks are free
|
||||
*
|
||||
|
@ -307,6 +308,7 @@ INT32 Net_GetFreeAcks(boolean urgent)
|
|||
return n;
|
||||
}
|
||||
|
||||
#ifndef NONET
|
||||
// Get a ack to send in the queue of this node
|
||||
static UINT8 GetAcktosend(INT32 node)
|
||||
{
|
||||
|
@ -998,11 +1000,6 @@ static boolean ShouldDropPacket(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
boolean NodeClosing(INT32 node)
|
||||
{
|
||||
return ((nodes[node].flags) & NF_CLOSE) != 0;
|
||||
}
|
||||
|
||||
//
|
||||
// HSendPacket
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue