- Fixed: DF_NO_COOP_WEAPON_SPAWN was handled backwardly.

SVN r212 (trunk)
This commit is contained in:
Randy Heit 2006-06-22 02:19:43 +00:00
parent 9eb0aa1a02
commit e6268bf0a2
3 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
June 21, 2006 June 21, 2006
- Fixed: DF_NO_COOP_WEAPON_SPAWN was handled backwardly.
- Fixed: G_InitLevelLocals() needs to OR in the crouching bits, otherwise it - Fixed: G_InitLevelLocals() needs to OR in the crouching bits, otherwise it
discards the jumping bits. discards the jumping bits.
- ProcessActor() now sets C mode before retrieving the actor's name. - ProcessActor() now sets C mode before retrieving the actor's name.

View file

@ -3725,7 +3725,7 @@ void P_SpawnMapThing (mapthing2_t *mthing, int position)
return; return;
// [RH] don't spawn extra weapons in coop if so desired // [RH] don't spawn extra weapons in coop if so desired
if (multiplayer && !deathmatch && !(dmflags&DF_NO_COOP_WEAPON_SPAWN)) if (multiplayer && !deathmatch && (dmflags & DF_NO_COOP_WEAPON_SPAWN))
{ {
if (i->IsDescendantOf (RUNTIME_CLASS(AWeapon))) if (i->IsDescendantOf (RUNTIME_CLASS(AWeapon)))
{ {