Rebase resync

This commit is contained in:
Antz 2020-02-17 09:19:44 +00:00
parent a0797532e8
commit 1997c1e903
3106 changed files with 11118 additions and 627576 deletions

View file

@ -19,6 +19,7 @@
#include "MoveSpline.h"
#include <sstream>
#include "Log.h"
#include "Unit.h"
namespace Movement
{
@ -195,12 +196,12 @@ namespace Movement
/// ============================================================================================
bool MoveSplineInitArgs::Validate() const
bool MoveSplineInitArgs::Validate(Unit* unit) const
{
#define CHECK(exp) \
if (!(exp))\
{\
sLog.outError("MoveSplineInitArgs::Validate: expression '%s' failed", #exp);\
sLog.outError("MoveSplineInitArgs::Validate: expression '%s' failed for %s", #exp, unit->GetGuidStr().c_str());\
return false;\
}
CHECK(path.size() > 1);