1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Minor VS buildfix

This commit is contained in:
Ethan Lee 2021-08-31 19:07:24 -04:00
parent 14c24069fd
commit 342dfcb48d

View file

@ -56,7 +56,7 @@ static NetworkBackend backends[NUM_BACKENDS];
int NETWORK_init(void) int NETWORK_init(void)
{ {
int32_t any = 0; int32_t i, any = 0;
#define ASSIGN_BACKEND(name, index) \ #define ASSIGN_BACKEND(name, index) \
backends[index].Init = name##_init; \ backends[index].Init = name##_init; \
backends[index].Shutdown = name##_shutdown; \ backends[index].Shutdown = name##_shutdown; \
@ -72,7 +72,6 @@ int NETWORK_init(void)
#endif #endif
#undef ASSIGN_BACKEND #undef ASSIGN_BACKEND
#if NUM_BACKENDS > 0 #if NUM_BACKENDS > 0
int32_t i;
for (i = 0; i < NUM_BACKENDS; i += 1) for (i = 0; i < NUM_BACKENDS; i += 1)
{ {
backends[i].IsInit = backends[i].Init(); backends[i].IsInit = backends[i].Init();