aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/shared/weapon_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/shared/weapon_parse.cpp')
-rw-r--r--mp/src/game/shared/weapon_parse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mp/src/game/shared/weapon_parse.cpp b/mp/src/game/shared/weapon_parse.cpp
index 514da202..c42ad7f1 100644
--- a/mp/src/game/shared/weapon_parse.cpp
+++ b/mp/src/game/shared/weapon_parse.cpp
@@ -70,7 +70,7 @@ itemFlags_t g_ItemFlags[8] =
{ "ITEM_FLAG_NOITEMPICKUP", ITEM_FLAG_NOITEMPICKUP }
};
#else
-extern itemFlags_t g_ItemFlags[7];
+extern itemFlags_t g_ItemFlags[8];
#endif
@@ -78,7 +78,7 @@ static CUtlDict< FileWeaponInfo_t*, unsigned short > m_WeaponInfoDatabase;
#ifdef _DEBUG
// used to track whether or not two weapons have been mistakenly assigned the wrong slot
-bool g_bUsedWeaponSlots[MAX_WEAPON_SLOTS][MAX_WEAPON_POSITIONS] = { 0 };
+bool g_bUsedWeaponSlots[MAX_WEAPON_SLOTS][MAX_WEAPON_POSITIONS] = { { false } };
#endif