From 7e0a97d2521b9ce57003176e82a0b5564aa003c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jul 2012 23:26:59 +0300 Subject: Fix more code style and additional warnings. --- src/resources/monsterdb.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/monsterdb.cpp') diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index d76585fd2..427db8f19 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -106,7 +106,8 @@ void MonsterDB::load() else if (walkStr == "walkswim" || walkStr == "swimwalk") block = Map::BLOCKMASK_AIR; - currentInfo->setWalkMask(Map::BLOCKMASK_WALL | block); + currentInfo->setWalkMask(static_cast( + Map::BLOCKMASK_WALL | block)); if (currentInfo->getMaxHP()) currentInfo->setStaticMaxHP(true); -- cgit v1.2.3-70-g09d2