Reverted unnecessary changes. Compile still works without errors in this revision, confirmed 2009.05.02 18:00 +2.

Initializing blank strings on function declaration had no effect. Also the parameter can be treated as optional when it's actually not. Reverted to avoid confusion.
This commit is contained in:
richard
2009-05-02 18:08:33 +02:00
parent 460b6ddf6d
commit dca8aa330b
5 changed files with 11 additions and 11 deletions

View File

@ -218,7 +218,7 @@ bool:WeaponsIsValidWeapon(const String:weapon[])
* @param weapon The weapon name.
* @param display Returns with the display name, is not changed if weapon is invalid.
*/
WeaponGetDisplayName(const String:weapon[], String:display[] = "")
WeaponGetDisplayName(const String:weapon[], String:display[])
{
// Reset keyvalue's traversal stack.
KvRewind(kvWeapons);