mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix compile error
This commit is contained in:
parent
7afc5d7d18
commit
d78c87c06e
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue