summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/actormanager.cpp
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadmv-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
mv-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
mv-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
mv-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 5ab03c6bb..3fb9c35be 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -87,7 +87,7 @@ class FindBeingFunctor final
{
return false;
}
- const Being *const b = static_cast<const Being* const>(actor);
+ const Being *const b = static_cast<const Being *>(actor);
const unsigned other_y = y
+ ((b->getType() == ActorType::Npc) ? 1 : 0);