Why does DD exist
This commit is contained in:
1 parent
da06b9417a
commit
490778cdab
2 files changed
+2
-6
No files matched your search
@@ -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)
|
||||
|
||||
+2
-5
@@ -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
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user