mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
port: net: don't create hudmsgs for other players
This commit is contained in:
1 parent
f54dbb596e
commit
7f92551d5a
1 file changed
+7
@@ -987,6 +987,13 @@ void hudmsgCreateFromArgs(char *text, s32 type, s32 conf00, s32 conf01, s32 conf
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef PLATFORM_N64
|
||||
if (g_NetMode && g_Vars.currentplayernum != 0) {
|
||||
// do not create hudmsgs for other net players
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (j = 0; text[j] != '\0'; j++) {
|
||||
hash = hash + text[j];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user