diff --git a/source/basecode.cpp b/source/basecode.cpp index 2555272..027fb66 100644 --- a/source/basecode.cpp +++ b/source/basecode.cpp @@ -29,7 +29,7 @@ ConVar yb_timerpickup ("yb_timerpickup", "0.5", VT_NOSERVER); ConVar yb_timergrenade ("yb_timergrenade", "0.5", VT_NOSERVER); ConVar yb_chatter_path ("yb_chatter_path", "sound/radio/bot", VT_NOSERVER); -ConVar yb_restricted_weapons ("yb_restricted_weapons", "ump45;elite;tmp;mac10;m3;xm1014"); +ConVar yb_restricted_weapons ("yb_restricted_weapons", ""); // game console variables ConVar mp_c4timer ("mp_c4timer", NULL, VT_NOREGISTER); diff --git a/source/interface.cpp b/source/interface.cpp index e675d75..eedcad8 100644 --- a/source/interface.cpp +++ b/source/interface.cpp @@ -482,7 +482,7 @@ void ParseVoiceEvent (const String &base, int type, float timeToRepeat) void InitConfig (void) { File fp; - char line[256]; + char line[512]; KeywordFactory replyKey; @@ -812,7 +812,7 @@ void InitConfig (void) PARSE_VOICE_EVENT (Chatter_CoverMe, 3.5); PARSE_VOICE_EVENT (Chatter_BehindSmoke, 3.5); PARSE_VOICE_EVENT (Chatter_BombSiteSecured, 3.5); - } + } } fp.Close (); }