summaryrefslogtreecommitdiff
path: root/src/heretic/p_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_user.c')
-rw-r--r--src/heretic/p_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/p_user.c b/src/heretic/p_user.c
index 67ae00d7..3c880b88 100644
--- a/src/heretic/p_user.c
+++ b/src/heretic/p_user.c
@@ -620,7 +620,7 @@ void P_PlayerThink(player_t * player)
if (player->weaponowned[newweapon]
&& newweapon != player->readyweapon)
{
- if (WeaponInShareware[newweapon] || !shareware)
+ if (WeaponInShareware[newweapon] || gamemode != shareware)
{
player->pendingweapon = newweapon;
}