Cleanup
This commit is contained in:
parent
6d8dab53e0
commit
edf80ba83b
5 changed files with 59 additions and 51 deletions
|
|
@ -26,7 +26,7 @@
|
|||
typedef enum
|
||||
{
|
||||
TEST_PATTERN_ID = 0,
|
||||
BAYONETTE_ID = 1,
|
||||
BAYONET_ID = 1,
|
||||
PISTOL_ID = 2,
|
||||
SHOTGUN_ID = 3,
|
||||
RIFLE_ID = 4,
|
||||
|
|
@ -68,7 +68,7 @@ extern Weapon_t WeaponsByID[NUMBER_OF_WEAPONS];
|
|||
|
||||
__attribute__((always_inline)) inline Weapon_t GetWeaponFromID(WeaponID_t id)
|
||||
{
|
||||
Weapon_t result = WeaponsByID[TEST_PATTERN_ID];
|
||||
Weapon_t result = WeaponsByID[DUBUQUE_PROTOCOL_ID];
|
||||
|
||||
if (id < NUMBER_OF_WEAPONS)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue