Fix compile error

This commit is contained in:
MysterD 2022-03-27 00:16:23 -07:00
parent e346e8a275
commit 4ffd97087e
1 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@ void network_receive_player(struct Packet* p) {
vec3f_copy(m->marioObj->header.gfx.pos, m->pos); vec3f_copy(m->marioObj->header.gfx.pos, m->pos);
vec3s_copy(m->marioObj->header.gfx.angle, m->faceAngle); vec3s_copy(m->marioObj->header.gfx.angle, m->faceAngle);
} }
#ifndef DEVELOPMENT #ifndef DEVELOPMENT
if (gNetworkType == NT_SERVER && configEnableCheats == 0) { if (gNetworkType == NT_SERVER && configEnableCheats == 0) {
for (int i = 0; i < MAX_PLAYERS; i++) { for (int i = 0; i < MAX_PLAYERS; i++) {
@ -372,8 +372,8 @@ void network_receive_player(struct Packet* p) {
} }
} }
} }
}
#endif #endif
}
void network_update_player(void) { void network_update_player(void) {
if (!network_player_any_connected()) { return; } if (!network_player_any_connected()) { return; }