Fix compile error
This commit is contained in:
parent
e346e8a275
commit
4ffd97087e
|
@ -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; }
|
||||||
|
|
Loading…
Reference in New Issue