From c41fcc1f637e76e5ff671b223ce6c151af89e7d3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Jul 2014 21:25:47 +0300 Subject: move "change drop counter" option into gamemodifiers. --- src/commands.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/commands.cpp') 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) -- cgit v1.2.3-60-g2f50