mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 11:10:48 +00:00
* Updated to ZDoom 4019:
- Added MAPINFO flag "SpawnWithWeaponRaised". - Added CHANGELEVEL_PRERAISEWEAPON flag for use with ACS's ChangeLevel. - Move NULL player check earlier in P_PoisonDamage, before player is accessed. - Add NULL decal check to FDecalLib::ParseGenerator(). - Initialize sprframe to NULL in FListMenuItemPlayerDisplay::Drawer(). - In UpdateJoystickConfigMenu(), do not access joy before checking if it's NULL. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1502 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
9f441cd5d1
commit
fef3619592
13 changed files with 40 additions and 28 deletions
|
@ -3986,7 +3986,7 @@ void P_SetupLevel (char *lumpname, int position)
|
|||
{
|
||||
players[i].mo = NULL;
|
||||
FPlayerStart *mthing = G_PickPlayerStart(i);
|
||||
P_SpawnPlayer(mthing, i);
|
||||
P_SpawnPlayer(mthing, i, (level.flags2 & LEVEL2_PRERAISEWEAPON) ? SPF_WEAPONFULLYUP : 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue