File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,8 @@ void botSpawn(struct chrdata *chr, u8 respawning)
262262 func0f02e9a0 (chr , 0 );
263263
264264#ifndef PLATFORM_N64
265- if ((g_MpSetup .options & MPOPTION_SPAWNWITHWEAPON )
265+ if (g_Vars .normmplayerisrunning
266+ && (g_MpSetup .options & MPOPTION_SPAWNWITHWEAPON )
266267 && g_MpSetup .weapons [0 ] != MPWEAPON_NONE
267268 && g_MpSetup .weapons [0 ] != MPWEAPON_DISABLED
268269 && g_MpSetup .weapons [0 ] != MPWEAPON_SHIELD ) {
Original file line number Diff line number Diff line change @@ -1114,7 +1114,8 @@ void playerSpawn(void)
11141114 invGiveSingleWeapon (WEAPON_NIGHTVISION );
11151115 }
11161116
1117- if ((g_MpSetup .options & MPOPTION_SPAWNWITHWEAPON )
1117+ if (g_Vars .normmplayerisrunning
1118+ && (g_MpSetup .options & MPOPTION_SPAWNWITHWEAPON )
11181119 && g_MpSetup .weapons [0 ] != MPWEAPON_NONE
11191120 && g_MpSetup .weapons [0 ] != MPWEAPON_DISABLED
11201121 && g_MpSetup .weapons [0 ] != MPWEAPON_SHIELD ) {
You can’t perform that action at this time.
0 commit comments