mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 05:53:34 +00:00
remove empty line
remove undeeded header
This commit is contained in:
parent
1fb086ccbd
commit
a5ff93351d
@ -9,7 +9,6 @@ void ChangeOrientationBehavior::Calculate(BehaviorContext* context, RakNet::BitS
|
|||||||
else sourceEntity = EntityManager::Instance()->GetEntity(branch.target);
|
else sourceEntity = EntityManager::Instance()->GetEntity(branch.target);
|
||||||
if (!sourceEntity) return;
|
if (!sourceEntity) return;
|
||||||
|
|
||||||
|
|
||||||
if (this->m_toTarget) {
|
if (this->m_toTarget) {
|
||||||
Entity* destinationEntity;
|
Entity* destinationEntity;
|
||||||
if (this->m_orientCaster) destinationEntity = EntityManager::Instance()->GetEntity(branch.target);
|
if (this->m_orientCaster) destinationEntity = EntityManager::Instance()->GetEntity(branch.target);
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Behavior.h"
|
#include "Behavior.h"
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class ChangeOrientationBehavior final : public Behavior {
|
class ChangeOrientationBehavior final : public Behavior {
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user