allow move to 0 0
This commit is contained in:
parent
72c86b99eb
commit
3842b1641f
1 changed files with 2 additions and 2 deletions
|
|
@ -954,8 +954,8 @@ void CKeybindManager::moveActive(std::string args) {
|
||||||
const int X = std::stoi(newX);
|
const int X = std::stoi(newX);
|
||||||
const int Y = std::stoi(newY);
|
const int Y = std::stoi(newY);
|
||||||
|
|
||||||
if (X < 10 || Y < 10) {
|
if (X < 0 || Y < 0) {
|
||||||
Debug::log(ERR, "moveActive: exact args cannot be < 10");
|
Debug::log(ERR, "moveActive: exact args cannot be < 0");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue