Fix compile error

This commit is contained in:
MysterD 2022-03-27 00:16:23 -07:00
parent 7afc5d7d18
commit d78c87c06e

View file

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