Fixed some errors from analyzer
This commit is contained in:
+1
-1
@@ -302,7 +302,7 @@ namespace Game.Maps
|
||||
high_bound = high;
|
||||
}
|
||||
|
||||
void ResizeBorders(ICoord begin_cell, ICoord end_cell)
|
||||
void ResizeBorders(ref ICoord begin_cell, ref ICoord end_cell)
|
||||
{
|
||||
begin_cell = low_bound;
|
||||
end_cell = high_bound;
|
||||
|
||||
+1
-1
@@ -3792,7 +3792,7 @@ namespace Game.Maps
|
||||
if (unit)
|
||||
{
|
||||
// Target must be GameObject.
|
||||
if (target != null)
|
||||
if (target == null)
|
||||
{
|
||||
Log.outError(LogFilter.Scripts, "{0} target object is NULL.", step.script.GetDebugInfo());
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user