Update command.cpp

This commit is contained in:
2023-04-30 12:46:23 +01:00
committed by GitHub
parent dcb675c3e3
commit d06fb0e427

View File

@ -26,7 +26,7 @@ void main_handler() {
}
params::params() : nesting_(get_cmd_args()->nesting) {
assert(this->nesting_ < game::CMD_MAX_NESTING);
assert(this->nesting_ < CMD_MAX_NESTING);
}
int params::size() const { return get_cmd_args()->argc[this->nesting_]; }