Merge branch 'master' of https://github.com/ZDoom/gzdoom into gzdoom-update-4-12-1
This commit is contained in:
commit
112c6cbccf
90 changed files with 1227 additions and 834 deletions
|
|
@ -776,11 +776,12 @@ void FLevelLocals::ChangeLevel(const char *levelname, int position, int inflags,
|
|||
{
|
||||
if (thiscluster != nextcluster || (thiscluster && !(thiscluster->flags & CLUSTER_HUB)))
|
||||
{
|
||||
if (nextinfo->flags2 & LEVEL2_RESETINVENTORY)
|
||||
const bool doReset = dmflags3 & DF3_PISTOL_START;
|
||||
if (doReset || (nextinfo->flags2 & LEVEL2_RESETINVENTORY))
|
||||
{
|
||||
inflags |= CHANGELEVEL_RESETINVENTORY;
|
||||
}
|
||||
if (nextinfo->flags2 & LEVEL2_RESETHEALTH)
|
||||
if (doReset || (nextinfo->flags2 & LEVEL2_RESETHEALTH))
|
||||
{
|
||||
inflags |= CHANGELEVEL_RESETHEALTH;
|
||||
}
|
||||
|
|
@ -2455,7 +2456,7 @@ DEFINE_ACTION_FUNCTION(FLevelLocals, GetClusterName)
|
|||
if (cluster)
|
||||
{
|
||||
if (cluster->flags & CLUSTER_LOOKUPNAME)
|
||||
retval = GStrings(cluster->ClusterName);
|
||||
retval = GStrings.GetString(cluster->ClusterName);
|
||||
else
|
||||
retval = cluster->ClusterName;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue