mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-14 20:22:23 -04:00
Codestyle: Renamed some variables to fit codestyle, corrected order in structure/class fields to match alignment (they use slightly less memory now)
Signed-off-by: Subv <s.v.h21@hotmail.com>
This commit is contained in:
@@ -2783,10 +2783,10 @@ bool SmartScript::ConditionValid(Unit* u, int32 c, int32 v1, int32 v2, int32 v3)
|
||||
if (c == 0) return true;
|
||||
if (!u || !u->ToPlayer()) return false;
|
||||
Condition cond;
|
||||
cond.mConditionType = ConditionType(uint32(c));
|
||||
cond.mConditionValue1 = uint32(v1);
|
||||
cond.mConditionValue1 = uint32(v2);
|
||||
cond.mConditionValue1 = uint32(v3);
|
||||
cond.ConditionType = ConditionTypes(uint32(c));
|
||||
cond.ConditionValue1 = uint32(v1);
|
||||
cond.ConditionValue1 = uint32(v2);
|
||||
cond.ConditionValue1 = uint32(v3);
|
||||
ConditionSourceInfo srcInfo = ConditionSourceInfo(u->ToPlayer());
|
||||
return cond.Meets(srcInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user