this can be static and inlined

This commit is contained in:
Alug committed 2024-08-31 16:53:33 +02:00
1 parent c11d925580
commit 28d8e84d6b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -223,7 +223,7 @@ UINT16 software_MAXPACKETLENGTH;
* \return The full tic value
*
*/
tic_t ExpandTics(INT32 low, tic_t basetic)
static inline tic_t ExpandTics(INT32 low, tic_t basetic)
{
INT32 delta;
+1 -1
View File
@@ -574,7 +574,7 @@ extern consvar_t cv_connectawaittime;
extern consvar_t cv_discordinvites;
// Used in d_net, the only dependence
tic_t ExpandTics(INT32 low, tic_t basetic);
//tic_t ExpandTics(INT32 low, tic_t basetic);
void D_ClientServerInit(void);
// Initialise the other field