summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-25 22:03:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-25 22:03:28 +0300
commitd670395fff93f805b666e0cc4cc56cdb880e0bba (patch)
treee7949649a7c0568b3b238c91092f60606a495f9f /src/commands.cpp
parent7d6d3d997614e8e76ca9044ca8ed5a81d3b14a95 (diff)
downloadplus-d670395fff93f805b666e0cc4cc56cdb880e0bba.tar.gz
plus-d670395fff93f805b666e0cc4cc56cdb880e0bba.tar.bz2
plus-d670395fff93f805b666e0cc4cc56cdb880e0bba.tar.xz
plus-d670395fff93f805b666e0cc4cc56cdb880e0bba.zip
Use all methods in gamemodifiers as static.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index f64e570c1..62cb58049 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1162,8 +1162,7 @@ impHandler2(dumpTests)
impHandler1(setDrop)
{
- if (modifiers)
- modifiers->setQuickDropCounter(atoi(args.c_str()));
+ GameModifiers::setQuickDropCounter(atoi(args.c_str()));
}
impHandler0(error)