View Issue Details

IDProjectCategoryView StatusLast Update
0000135Gameplay + OpenGL[All Projects] Bugpublic2017-01-29 11:32
Reportersilentzora 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000135: Custom Statbar Failing to Render When Loading With Warp/Skill Params
DescriptionStarting with the g2.4pre-198-g02cfdbc build of GZDoom, the custom statbar in Doomzone no longer displays when starting a new game with the -warp or -skill parameters. Starting a new game from the New Game option displays the statbar fine.

Builds prior to Jan 20 do not exhibit this behavior.
Steps To ReproduceLoad Doomzone via command line with the -warp or -skill parameter (or level/skill selection in your launcher of choice). Precisely which level or skill does not matter. Game should start, but no statbar will be drawn.
Additional InformationThe last build of Doomzone can be obtained here for testing.
TagsNo tags attached.

Relationships

Activities

_mental_

_mental_

2017-01-29 04:19

developer   ~0000270

Last edited: 2017-01-29 04:20

View 3 revisions

The issue is caused by inconsistency between DBaseStatusBar::Scaled and DSBarInfo::Scaled.
Call to DSBarInfoWrapper::SetScaled() sets both of them however there is an additional check in DBaseStatusBar::SetScaled() which isn't exist in DSBarInfo::_SetScaled().
IMHO to make those values synchronized DSBarInfoWrapper::SetScaled() should use value of Scaled from its parent class:
void DSBarInfoWrapper::SetScaled(bool scale, bool force)
{
    Super::SetScaled(scale, force);
    core->_SetScaled(Scaled);
}


Graf Zahl

Graf Zahl

2017-01-29 11:32

administrator   ~0000279

Indeed. That's what I wanted to do there, it seems like the autocomplete screwed me over and picked the wrong variable.

Issue History

Date Modified Username Field Change
2017-01-28 12:24 silentzora New Issue
2017-01-29 04:19 _mental_ Note Added: 0000270
2017-01-29 04:20 _mental_ Note Edited: 0000270 View Revisions
2017-01-29 04:20 _mental_ Note Edited: 0000270 View Revisions
2017-01-29 11:32 Graf Zahl Note Added: 0000279
2017-01-29 11:32 Graf Zahl Status new => resolved
2017-01-29 11:32 Graf Zahl Resolution open => fixed