Skip to content

Commit

Permalink
Client: Fixed status bar (was not being drawn)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 22, 2011
1 parent b4e9656 commit d945bf9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions doomsday/plugins/common/src/p_player.c
Expand Up @@ -321,6 +321,8 @@ void P_ShotAmmo(player_t *player)
weaponinfo_t* wInfo =
&weaponInfo[player->readyWeapon][player->class_];

if(IS_CLIENT) return; // Server keeps track of this.

#if __JHERETIC__
if(deathmatch)
fireMode = 0; // In deathmatch always use mode zero.
Expand Down
3 changes: 1 addition & 2 deletions doomsday/plugins/jdoom/src/d_refresh.c
Expand Up @@ -297,8 +297,7 @@ static void rendHUD(int player)
if(!(AM_IsActive(map) && cfg.automapHudDisplay == 0) &&
!(P_MobjIsCamera(plr->plr->mo) && Get(DD_PLAYBACK)))
{
int viewmode =
((WINDOWHEIGHT == 200)? cfg.setBlocks - 10 : 0);
int viewmode = ((WINDOWHEIGHT == 200)? cfg.setBlocks - 10 : 0);

ST_Drawer(player, viewmode, redrawsbar);
}
Expand Down
2 changes: 1 addition & 1 deletion doomsday/plugins/jdoom/src/st_stuff.c
Expand Up @@ -1249,7 +1249,7 @@ void ST_Drawer(int player, int fullscreenMode, boolean refresh)
return;

plr = &players[player];
if(!((plr->plr->flags & DDPF_LOCAL) && plr->plr->inGame))
if(/*!((plr->plr->flags & DDPF_LOCAL) &&*/ !plr->plr->inGame)
return;

hud = &hudStates[player];
Expand Down

0 comments on commit d945bf9

Please sign in to comment.