refactor(Core/Game): restyle game lib with astyle (#3466)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include <type_traits>
|
||||
|
||||
template<typename First, typename Second, typename... Rest>
|
||||
static inline First const& RAND(First const& first, Second const& second, Rest const&... rest)
|
||||
static inline First const& RAND(First const& first, Second const& second, Rest const& ... rest)
|
||||
{
|
||||
std::reference_wrapper<typename std::add_const<First>::type> const pack[] = { first, second, rest... };
|
||||
return pack[urand(0, sizeof...(rest) + 1)].get();
|
||||
@@ -44,7 +44,7 @@ enum AICondition
|
||||
struct AISpellInfoType
|
||||
{
|
||||
AISpellInfoType() : target(AITARGET_SELF), condition(AICOND_COMBAT)
|
||||
, cooldown(AI_DEFAULT_COOLDOWN), realCooldown(0), maxRange(0.0f){}
|
||||
, cooldown(AI_DEFAULT_COOLDOWN), realCooldown(0), maxRange(0.0f) {}
|
||||
AITarget target;
|
||||
AICondition condition;
|
||||
uint32 cooldown;
|
||||
|
||||
Reference in New Issue
Block a user