mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
Merge pull request #674 from ZenithMDC/limit-start-armed-to-csim
Limit 'Start Armed' option to Combat Simulator
This commit is contained in:
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -262,7 +262,8 @@ void botSpawn(struct chrdata *chr, u8 respawning)
|
|||||||
func0f02e9a0(chr, 0);
|
func0f02e9a0(chr, 0);
|
||||||
|
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
if ((g_MpSetup.options & MPOPTION_SPAWNWITHWEAPON)
|
if (g_Vars.normmplayerisrunning
|
||||||
|
&& (g_MpSetup.options & MPOPTION_SPAWNWITHWEAPON)
|
||||||
&& g_MpSetup.weapons[0] != MPWEAPON_NONE
|
&& g_MpSetup.weapons[0] != MPWEAPON_NONE
|
||||||
&& g_MpSetup.weapons[0] != MPWEAPON_DISABLED
|
&& g_MpSetup.weapons[0] != MPWEAPON_DISABLED
|
||||||
&& g_MpSetup.weapons[0] != MPWEAPON_SHIELD) {
|
&& g_MpSetup.weapons[0] != MPWEAPON_SHIELD) {
|
||||||
|
|||||||
+2
-1
@@ -1114,7 +1114,8 @@ void playerSpawn(void)
|
|||||||
invGiveSingleWeapon(WEAPON_NIGHTVISION);
|
invGiveSingleWeapon(WEAPON_NIGHTVISION);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((g_MpSetup.options & MPOPTION_SPAWNWITHWEAPON)
|
if (g_Vars.normmplayerisrunning
|
||||||
|
&& (g_MpSetup.options & MPOPTION_SPAWNWITHWEAPON)
|
||||||
&& g_MpSetup.weapons[0] != MPWEAPON_NONE
|
&& g_MpSetup.weapons[0] != MPWEAPON_NONE
|
||||||
&& g_MpSetup.weapons[0] != MPWEAPON_DISABLED
|
&& g_MpSetup.weapons[0] != MPWEAPON_DISABLED
|
||||||
&& g_MpSetup.weapons[0] != MPWEAPON_SHIELD) {
|
&& g_MpSetup.weapons[0] != MPWEAPON_SHIELD) {
|
||||||
|
|||||||
Reference in new issue
Block a user