View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000135 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-01-28 12:24 | 2017-01-29 11:32 |
Reporter | silentzora | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000135: Custom Statbar Failing to Render When Loading With Warp/Skill Params | ||||
Description | Starting 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 Reproduce | Load 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 Information | The last build of Doomzone can be obtained here for testing. | ||||
Tags | No tags attached. | ||||
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:
|
|
Indeed. That's what I wanted to do there, it seems like the autocomplete screwed me over and picked the wrong variable. | |
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 |