mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 19:50:51 +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
|
#ifdef DEBUGMODE
|
||||||
void Command_Numnodes(void);
|
void Command_Numnodes(void);
|
||||||
#endif
|
#endif
|
||||||
boolean NodeClosing(INT32 node);
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
|
|
|
@ -274,6 +274,7 @@ static boolean GetFreeAcknum(UINT8 *freeack, boolean lowtimer)
|
||||||
I_Error("Connection lost\n");
|
I_Error("Connection lost\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Counts how many acks are free
|
/** Counts how many acks are free
|
||||||
*
|
*
|
||||||
|
@ -307,6 +308,7 @@ INT32 Net_GetFreeAcks(boolean urgent)
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NONET
|
||||||
// Get a ack to send in the queue of this node
|
// Get a ack to send in the queue of this node
|
||||||
static UINT8 GetAcktosend(INT32 node)
|
static UINT8 GetAcktosend(INT32 node)
|
||||||
{
|
{
|
||||||
|
@ -998,11 +1000,6 @@ static boolean ShouldDropPacket(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
boolean NodeClosing(INT32 node)
|
|
||||||
{
|
|
||||||
return ((nodes[node].flags) & NF_CLOSE) != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// HSendPacket
|
// HSendPacket
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue