From 64810ef5b4b3d375e7af0f4fc9ee69e235afa568 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 24 Apr 2015 21:33:13 +0300 Subject: Fix code style. --- src/being/being.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index fefdbf256..a493d9a1a 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -1337,6 +1337,7 @@ void Being::setAction(const BeingAction::Action &action, const int attackId) } currentAction = getSpawnAction(); break; + case BeingAction::PRESTAND: default: logger->log("Being::setAction unknown action: " + toString(static_cast(action))); @@ -1748,6 +1749,7 @@ void Being::petLogic() case BeingAction::MOVE: case BeingAction::HURT: case BeingAction::SPAWN: + case BeingAction::PRESTAND: default: directionType = mInfo->getDirectionType(); break; @@ -3110,6 +3112,17 @@ void Being::saveComment(const std::string &restrict name, case ActorType::Npc: dir = settings.npcsDir; break; + case ActorType::Monster: + case ActorType::FloorItem: + case ActorType::Portal: + case ActorType::LocalPet: + case ActorType::Avatar: + case ActorType::Unknown: +#ifdef EATHENA_SUPPORT + case ActorType::Pet: + case ActorType::Mercenary: + case ActorType::Homunculus: +#endif default: return; } @@ -3427,6 +3440,7 @@ void Being::fixPetSpawnPos(int &dstX, int &dstY) const case BeingAction::SPAWN: case BeingAction::HURT: case BeingAction::STAND: + case BeingAction::PRESTAND: default: offsetX1 = mInfo->getTargetOffsetX(); offsetY1 = mInfo->getTargetOffsetY(); -- cgit v1.2.3-60-g2f50