diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-30 23:12:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-30 23:12:06 +0300 |
commit | 6bedbd1724e575a152250eeda7988423d01680ba (patch) | |
tree | 69770d42c82e5b13b2e4fb08ea3b5cce46763346 /src/commands.cpp | |
parent | 1680d159ecbf75591d2dab1416ff8144c27d4de5 (diff) | |
download | mv-6bedbd1724e575a152250eeda7988423d01680ba.tar.gz mv-6bedbd1724e575a152250eeda7988423d01680ba.tar.bz2 mv-6bedbd1724e575a152250eeda7988423d01680ba.tar.xz mv-6bedbd1724e575a152250eeda7988423d01680ba.zip |
Add chat command for spawn debug local player copy.
New chat command: /debugSpawn
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index cec8468e8..51ce93f85 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1538,6 +1538,11 @@ impHandler0(dumpOGL) #endif } +impHandler0(debugSpawn) +{ + Being *const being = actorManager->cloneBeing(localPlayer); +} + void replaceVars(std::string &str) { if (!localPlayer || !actorManager) |