diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:49:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:49:12 +0300 |
commit | 8f173afdd496eda7fddd2b166e11626651600501 (patch) | |
tree | 422b3dde21b2f040f953cf26f8433e74aec2e2e0 /src/commands.cpp | |
parent | 56178bf525b07582389493158ac90e2ab7721571 (diff) | |
download | manaverse-8f173afdd496eda7fddd2b166e11626651600501.tar.gz manaverse-8f173afdd496eda7fddd2b166e11626651600501.tar.bz2 manaverse-8f173afdd496eda7fddd2b166e11626651600501.tar.xz manaverse-8f173afdd496eda7fddd2b166e11626651600501.zip |
Move chat command /debugspawn into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index d6183b42b..ac854bc39 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -159,20 +159,6 @@ static void uploadFile(const std::string &str, upload->start(); } -impHandler0(debugSpawn) -{ - int cnt = atoi(event.args.c_str()); - if (cnt < 1) - cnt = 1; - const int half = cnt / 2; - for (int x = -half; x < cnt - half; x ++) - { - for (int y = -half; y < cnt - half; y ++) - actorManager->cloneBeing(localPlayer, x, y, cnt); - } - return true; -} - void replaceVars(std::string &str) { if (!localPlayer || !actorManager) |