Permalink
Browse files

Fix some typos in ttt_weapons

  • Loading branch information...
Bara committed Jun 27, 2018
1 parent 73e2f84 commit 16eed73c11bae21e267b8e3ce5adef46f48414b5
@@ -11,9 +11,9 @@
#define HELM_T_ITEM_SHORT "helmT"
#define HELM_D_ITEM_SHORT "helmD"
#define KEVHELM_ITEM_SHORT "khelm"
#define KEVHELM_T_ITEM_SHORT "khelmT"
#define KEVHELM_D_ITEM_SHORT "kelmD"
#define KEVHELM_ITEM_SHORT "kevhelm"
#define KEVHELM_T_ITEM_SHORT "kevhelmT"
#define KEVHELM_D_ITEM_SHORT "kevhelmD"
#define HEAVY_ITEM_SHORT "heavy"
#define HEAVY_T_ITEM_SHORT "heavyT"
@@ -245,7 +245,7 @@ void RegisterItem()
}
else if(g_cKevHelm_Type.IntValue == 2)
{
TTT_RegisterCustomItem(HELM_ITEM_SHORT, sBuffer, g_cKevHelm_Price.IntValue, TTT_TEAM_TRAITOR, g_cKevHelm_Prio.IntValue, g_cKevHelm_Discount.BoolValue);
TTT_RegisterCustomItem(KEVHELM_ITEM_SHORT, sBuffer, g_cKevHelm_Price.IntValue, TTT_TEAM_TRAITOR, g_cKevHelm_Prio.IntValue, g_cKevHelm_Discount.BoolValue);
}
g_cKF_Long.GetString(sBuffer, sizeof(sBuffer));
@@ -491,7 +491,7 @@ public Action TTT_OnItemPurchased(int client, const char[] itemshort, bool count
}
if(TTT_GetClientRole(client) == TTT_TEAM_TRAITOR)
{
GiveArmor(client);
GiveHelm(client);
}
}
else if( (strcmp(itemshort, HEAVY_ITEM_SHORT, false) == 0)

0 comments on commit 16eed73

Please sign in to comment.