Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit 3bff961

Browse files
authored
Merge pull request #37 from littlegao233/master
fix register of no cheat command
2 parents eb92661 + d711f95 commit 3bff961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

headers/api/commands.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ static inline void MakeCommand(string const &name, const char *desc, int lvl) {
9999
SymCall(
100100
"?registerCommand@CommandRegistry@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$"
101101
"allocator@D@2@@std@@PEBDW4CommandPermissionLevel@@UCommandFlag@@3@Z",
102-
void, void *, std::string const &, char const *, char, char,
103-
char)(CmdRegGlobal, name, desc, lvl, 0, 0x40);
102+
void, void *, std::string const &, char const *, char, short,
103+
short)(CmdRegGlobal, name, desc, lvl, 0, 0x80);
104104
}
105105

106106
template <typename T>

0 commit comments

Comments
 (0)