diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-21 21:25:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-21 21:25:47 +0300 |
commit | c41fcc1f637e76e5ff671b223ce6c151af89e7d3 (patch) | |
tree | ae7afae3d8c30eff4569fc0c41fb8d0ef99ecd94 /src/commands.cpp | |
parent | 8b6afd0d756b9fc66c9f4de3ef452c24f64c87d1 (diff) | |
download | plus-c41fcc1f637e76e5ff671b223ce6c151af89e7d3.tar.gz plus-c41fcc1f637e76e5ff671b223ce6c151af89e7d3.tar.bz2 plus-c41fcc1f637e76e5ff671b223ce6c151af89e7d3.tar.xz plus-c41fcc1f637e76e5ff671b223ce6c151af89e7d3.zip |
move "change drop counter" option into gamemodifiers.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 09eee8b05..f64e570c1 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -27,6 +27,7 @@ #include "client.h" #include "configuration.h" #include "game.h" +#include "gamemodifiers.h" #include "graphicsmanager.h" #include "guildmanager.h" #include "main.h" @@ -1161,8 +1162,8 @@ impHandler2(dumpTests) impHandler1(setDrop) { - if (player_node) - player_node->setQuickDropCounter(atoi(args.c_str())); + if (modifiers) + modifiers->setQuickDropCounter(atoi(args.c_str())); } impHandler0(error) |