Why does DD exist

This commit is contained in:
Louis-Antoine 2017-01-13 22:34:16 +01:00
parent da06b9417a
commit 490778cdab
2 changed files with 2 additions and 6 deletions

View File

@ -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)

View File

@ -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
// //