Merge branch 'port' into port-net

This commit is contained in:
fgsfds committed 2024-05-15 13:39:19 +02:00
commit 7cc389bc69
1 file changed
+2 -1
+2 -1
View File
@@ -4389,8 +4389,9 @@ void chrDamage(struct chrdata *chr, f32 damage, struct coord *vector, struct gse
}
#ifndef PLATFORM_N64
// Don't damage if multiplayer and friendly fire is off
// Don't damage if team multiplayer and friendly fire is off
if (g_Vars.mplayerisrunning
&& (g_MpSetup.options & MPOPTION_TEAMSENABLED)
&& !(g_MpSetup.options & MPOPTION_FRIENDLYFIRE)
&& aprop
&& aprop != vprop