summaryrefslogtreecommitdiff
path: root/src/net/ea/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-21 23:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-21 23:27:33 +0300
commitd181a2fb30ac73173fba851d4b2f7ca6f7d46ca0 (patch)
tree643c68086ee1258dbea0943f2928af626f3b9c81 /src/net/ea/beingrecv.cpp
parent5d6e4e9a5875d79173e9d2c867567dc26354240e (diff)
downloadmv-d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0.tar.gz
mv-d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0.tar.bz2
mv-d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0.tar.xz
mv-d181a2fb30ac73173fba851d4b2f7ca6f7d46ca0.zip
Remove useless variables.
Diffstat (limited to 'src/net/ea/beingrecv.cpp')
-rw-r--r--src/net/ea/beingrecv.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp
index bf7ae32ba..b2859d76f 100644
--- a/src/net/ea/beingrecv.cpp
+++ b/src/net/ea/beingrecv.cpp
@@ -513,9 +513,8 @@ Being *BeingRecv::createBeing(const BeingId id,
else if (job == 45)
type = ActorType::Portal;
- Being *const being = actorManager->createBeing(
+ return actorManager->createBeing(
id, type, fromInt(job, BeingTypeId));
- return being;
}
} // namespace Ea