Fixed some errors from analyzer

This commit is contained in:
hondacrx
2017-06-22 17:02:27 -04:00
parent 0e40e90a11
commit d538acc979
26 changed files with 38 additions and 46 deletions
+1 -1
View File
@@ -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
View File
@@ -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;