mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
arm64 : fix clang compile errors
This commit is contained in:
@@ -99,7 +99,9 @@ CCSWeaponInfo g_EquipmentInfo[MAX_EQUIPMENT];
|
||||
|
||||
void PrepareEquipmentInfo( void )
|
||||
{
|
||||
memset( g_EquipmentInfo, 0, ARRAYSIZE( g_EquipmentInfo ) );
|
||||
// MoeMod : dont use memset here
|
||||
for(int i = 0; i < MAX_EQUIPMENT; ++i)
|
||||
g_EquipmentInfo[i] = {};
|
||||
|
||||
g_EquipmentInfo[2].SetWeaponPrice( CSGameRules()->GetBlackMarketPriceForWeapon( WEAPON_KEVLAR ) );
|
||||
g_EquipmentInfo[2].SetDefaultPrice( KEVLAR_PRICE );
|
||||
|
||||
Reference in New Issue
Block a user