Fix error in travis log.

This commit is contained in:
lee1991
2017-01-09 20:42:48 +00:00
parent adeef5b1df
commit b65aa9f7f5

View File

@@ -403,8 +403,7 @@ public:
if (ElementalOne) if (ElementalOne)
{ {
Unit* target = NULL; Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true);
target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true);
if (!target) if (!target)
return; return;
@@ -419,8 +418,7 @@ public:
if (ElementalTwo) if (ElementalTwo)
{ {
Unit* target = NULL; Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true);
target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true);
if (!target) if (!target)
return; return;
@@ -435,8 +433,7 @@ public:
if (ElementalThree) if (ElementalThree)
{ {
Unit* target = NULL; Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true);
target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true);
if (!target) if (!target)
return; return;
@@ -451,8 +448,7 @@ public:
if (ElementalFour) if (ElementalFour)
{ {
Unit* target = NULL; UnUnit* target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true);
target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true);
if (!target) if (!target)
return; return;