Skip to content

Commit

Permalink
Hexen: Align only the TOPCENTER uiwidgets to match cvar msg-align
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Dec 26, 2011
1 parent ea9674c commit 72fb49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/plugins/jhexen/src/st_stuff.c
Expand Up @@ -3059,7 +3059,7 @@ void ST_Start(int player)
* Initialize widgets according to player preferences.
*/

obj = GUI_MustFindObjectById(hud->widgetGroupIds[UWG_TOP]);
obj = GUI_MustFindObjectById(hud->widgetGroupIds[UWG_TOPCENTER]);
flags = UIWidget_Alignment(obj);
flags &= ~(ALIGN_LEFT|ALIGN_RIGHT);
if(cfg.msgAlign == 0)
Expand Down Expand Up @@ -3321,7 +3321,7 @@ void ST_LogUpdateAlignment(void)
hudstate_t* hud = &hudStates[i];
if(!hud->inited) continue;

obj = GUI_MustFindObjectById(hud->widgetGroupIds[UWG_TOP]);
obj = GUI_MustFindObjectById(hud->widgetGroupIds[UWG_TOPCENTER]);
flags = UIWidget_Alignment(obj);
flags &= ~(ALIGN_LEFT|ALIGN_RIGHT);
if(cfg.msgAlign == 0)
Expand Down

0 comments on commit 72fb49e

Please sign in to comment.