summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 18:42:51 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit2033ce76a8fba2148bc034d16e1d226bc757c47f (patch)
tree08a53fde19959fc72c09c42b457f63d63aba291d /src/game.cpp
parente441e9e40d27930f3533ffecfa2a48e4fd312f4c (diff)
downloadmv-2033ce76a8fba2148bc034d16e1d226bc757c47f.tar.gz
mv-2033ce76a8fba2148bc034d16e1d226bc757c47f.tar.bz2
mv-2033ce76a8fba2148bc034d16e1d226bc757c47f.tar.xz
mv-2033ce76a8fba2148bc034d16e1d226bc757c47f.zip
remove virtual methos call from particle constructor.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 50cb1377e..5ed8481a9 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -182,7 +182,8 @@ static void initEngines()
AuctionManager::init();
GuildManager::init();
- particleEngine = new Particle(nullptr);
+ particleEngine = new Particle();
+ particleEngine->setMap(nullptr);
particleEngine->setupEngine();
BeingInfo::init();