Skip to content

Commit

Permalink
Fixed opening of menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Jun 2, 2005
1 parent c69548c commit 3b422c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions doomsday/Src/Common/g_game.c
Expand Up @@ -1698,8 +1698,6 @@ boolean G_Responder(event_t *ev)
#if __JHERETIC__ || __JHEXEN__ || __JSTRIFE__
player_t *plr = &players[consoleplayer];

//extern boolean MenuActive;

if(!actions[A_USEARTIFACT].on)
{ // flag to denote that it's okay to use an artifact
if(!inventory)
Expand All @@ -1709,7 +1707,7 @@ boolean G_Responder(event_t *ev)
usearti = true;
}

#else
#endif
// any other key pops up menu if in demos
if(gameaction == ga_nothing && !singledemo &&
(Get(DD_PLAYBACK) || FI_IsMenuTrigger(ev)))
Expand All @@ -1722,7 +1720,6 @@ boolean G_Responder(event_t *ev)
}
return false;
}
#endif

if(FI_Responder(ev))
return true;
Expand Down

0 comments on commit 3b422c3

Please sign in to comment.