Skip to content

Commit

Permalink
Try char
Browse files Browse the repository at this point in the history
Try char
  • Loading branch information
SmileYzn committed Dec 18, 2024
1 parent b3d3fa4 commit d9252fc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion MatchBot/MatchAdmin.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

// Admin settings file
constexpr auto MB_ADMIN_LIST_FILE = "cstrike/addons/matchbot/users.txt";
char MB_ADMIN_LIST_FILE[] = "cstrike/addons/matchbot/users.txt";

// Admin struct info
typedef struct S_ADMIN_INFO
Expand Down
2 changes: 1 addition & 1 deletion MatchBot/MatchBot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ void CMatchBot::Scores(CBasePlayer* Player, bool Method)
void CMatchBot::Help(CBasePlayer* Player, bool AdminHelp)
{
// Default Help File Path
char Path[MAX_PATH] = "cstrike/addons/matchbot/users_help.html";
char Path[] = "cstrike/addons/matchbot/users_help.html";

// If has admin flag
if (AdminHelp && gMatchAdmin.Access(Player->entindex(), ADMIN_LEVEL_C))
Expand Down
2 changes: 1 addition & 1 deletion MatchBot/MatchCommand.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

// Default commands file
constexpr auto MB_COMMANDS_FILE = "cstrike/addons/matchbot/commands.txt";
char MB_COMMANDS_FILE[] = "cstrike/addons/matchbot/commands.txt";

// Command info
typedef struct S_COMMAND_INFO
Expand Down
2 changes: 1 addition & 1 deletion MatchBot/MatchCvarMenu.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

// Default cvar menu file
constexpr auto MB_CVAR_MENU_FILE = "cstrike/addons/matchbot/cvars.txt";
char MB_CVAR_MENU_FILE[] = "cstrike/addons/matchbot/cvars.txt";

typedef struct S_CVAR_MENU_INFO
{
Expand Down
2 changes: 1 addition & 1 deletion MatchBot/MatchLanguage.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define _T(TextString) gMatchLanguage.Get(TextString)

// Default language file
constexpr auto MB_LANGUAGE_FILE = "cstrike/addons/matchbot/language.txt";
char MB_LANGUAGE_FILE[] = "cstrike/addons/matchbot/language.txt";

class CMatchLanguage
{
Expand Down
2 changes: 1 addition & 1 deletion MatchBot/MatchUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ constexpr auto PRINT_CENTER = 4;
constexpr auto PRINT_RADIO = 5;

// Map List File
constexpr auto MB_MAP_LIST_FILE = "cstrike/addons/matchbot/maplist.txt";
char MB_MAP_LIST_FILE[] = "cstrike/addons/matchbot/maplist.txt";

class CMatchUtil
{
Expand Down

0 comments on commit d9252fc

Please sign in to comment.