Merge remote-tracking branch 'remotes/ZDoom/gzdoom/staging' into gzd_staging
This commit is contained in:
commit
9e0bf90be6
177 changed files with 4290 additions and 12626 deletions
|
|
@ -317,7 +317,8 @@ CCMD (slot)
|
|||
}
|
||||
|
||||
// [Nash] Option to display the name of the weapon being switched to.
|
||||
if ((paused || pauseext) || players[consoleplayer].playerstate != PST_LIVE) return;
|
||||
if ((paused || pauseext) || players[consoleplayer].playerstate != PST_LIVE)
|
||||
return;
|
||||
if (SendItemUse != players[consoleplayer].ReadyWeapon && (displaynametags & 2) && StatusBar && SmallFont && SendItemUse)
|
||||
{
|
||||
StatusBar->AttachMessage(Create<DHUDMessageFadeOut>(nullptr, SendItemUse->GetTag(),
|
||||
|
|
@ -328,6 +329,8 @@ CCMD (slot)
|
|||
|
||||
CCMD (centerview)
|
||||
{
|
||||
if ((players[consoleplayer].cheats & CF_TOTALLYFROZEN))
|
||||
return;
|
||||
Net_WriteByte (DEM_CENTERVIEW);
|
||||
}
|
||||
|
||||
|
|
@ -1972,7 +1975,7 @@ void G_DoLoadGame ()
|
|||
hidecon = gameaction == ga_loadgamehidecon;
|
||||
gameaction = ga_nothing;
|
||||
|
||||
std::unique_ptr<FResourceFile> resfile(FResourceFile::OpenResourceFile(savename.GetChars(), true, true));
|
||||
std::unique_ptr<FResourceFile> resfile(FResourceFile::OpenResourceFile(savename.GetChars(), true));
|
||||
if (resfile == nullptr)
|
||||
{
|
||||
LoadGameError("TXT_COULDNOTREAD");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue