Updated translations, converted the menu to use keyword defines instead of hardcoded names.

This commit is contained in:
Greyscale
2009-05-08 04:57:21 +02:00
parent f0a975b431
commit a6e55b6653
5 changed files with 22 additions and 25 deletions

View File

@ -44,7 +44,7 @@ enum WpnRestrictQuery
RestrictInit()
{
// Initialize weapon restrict array.
gRestrictedWeapons = CreateArray(32, 0);
gRestrictedWeapons = CreateArray(WEAPONS_MAX_LENGTH, 0);
// Hook buy command.
RegConsoleCmd("buy", RestrictBuyCommand);