Aldavere / project-nevada

Automatically exported from code.google.com/p/project-nevada
0 stars 1 forks source link

Wrong weapon selected after using grenade hotkey #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. have a two or more guns of the sma etype in your inventory
2. equip one of these guns
3. use grenade hotkey

What is the expected output? What do you see instead?
Instead of selecting the gun i was using previously, another gun of the same 
type is selected.

Please use labels and text to provide additional information.
Noticed this when after throwing a dynamite i was holding an unmodded 9mm 
instead of the one with a silencer (from WMX mod).

Original issue reported on code.google.com by ToJK...@gmail.com on 30 Jan 2011 at 1:13

GoogleCodeExporter commented 8 years ago
I tried it with vanilla weapons, and it worked the same way.

Original comment by mikeke...@gmail.com on 30 Jan 2011 at 2:39

GoogleCodeExporter commented 8 years ago
I'm afraid this one is unfixable. You call equipItem with a baseForm, and if 
there are multiple items of the same type in the players inventory, the game 
will decide which one it uses.

Original comment by schlangs...@gmail.com on 30 Jan 2011 at 11:18