Fix build

This commit is contained in:
intns 2024-05-18 18:19:48 +01:00
parent 42a72287a5
commit 6a6850eac2
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ Language: Cpp
BasedOnStyle: WebKit
ColumnLimit: 140
SortIncludes: false
SortIncludes: true
IndentWidth: 4
TabWidth: 4

View File

@ -1,6 +1,6 @@
#include "Game/Entities/PanModokiBase.h"
#include "Game/EnemyAnimKeyEvent.h"
#include "Game/EnemyFunc.h"
#include "Game/Entities/PanModokiBase.h"
#include "Game/Stickers.h"
namespace Game {
@ -680,7 +680,7 @@ void StateCarryEnd::exec(EnemyBase* enemy)
} else {
Vector3f diff = enemy->mHomePosition - enemy->getPosition();
if (diff.boundedX(2.0f) && diff.boundedZ(2.0f)) {
if (diff.isBoundedX(2.0f) && diff.isBoundedZ(2.0f)) {
Vector3f homePos = enemy->mHomePosition;
enemy->onSetPosition(homePos);
if (enemy->mCurAnim->mIsPlaying && enemy->mCurAnim->mType == KEYEVENT_LOOP_END) {