Project

General

Profile

Bug #299

Firemace unselectable

Added by nuerosphere almost 18 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
2006-06-02
% Done:

100%


Description

The Firemace is unselectable by pressing "7" on the
keyboard.

Temporary workaround: Scroll through weapons using
nextweapon/preweapon\.

Labels: jHeretic Gameplay

History

#1 Updated by zachkeene almost 18 years ago

Logged In: YES
user_id=1103163

Bug again confirmed on Linux.

#2 Updated by zachkeene almost 18 years ago

Logged In: YES
user_id=1103163

Worse, the firemace is unselectable no matter what you have
"weapon7" bound to.

I fixed it by changing line 857 of Src/Common/g_controls.c to:

for(i = 0; i < NUMWEAPONS - 1; i++)

#3 Updated by zachkeene almost 18 years ago

Logged In: YES
user_id=1103163

Ah, I see. Somebody removed wp_beak from the weapontype_t
enum in jHeretic's Doomdefs.h (thus reducing the value of
NUMWEAPONS by one), and didn't compensate for that in
g_controls.c, which my fix does.

#4 Updated by danij almost 18 years ago

Logged In: YES
user_id=849456

I thought I'd changed most places where this is an issue but
obviously I missed this.

There may be other issues related to this so keep an eye out.

#5 Updated by danij almost 18 years ago

Logged In: YES
user_id=849456

Fixed. Will commit changes to SVN soon.

#6 Updated by danij over 17 years ago

Logged In: YES
user_id=849456

Fixed in SVN [3439] for Doomsday1.9.0-beta5

Also available in: Atom PDF