Missing {} added.

This commit is contained in:
johns 2001-02-21 21:25:25 +00:00
parent 6d1559429d
commit dfc28e7e15

View file

@ -160,10 +160,11 @@ global void HandleActionSpellCast(Unit* unit)
unit->Command.Action=UnitActionStill;
unit->SubAction=0;
unit->Wait = 1;
if ( unit->Command.Data.Move.Goal )
if ( unit->Command.Data.Move.Goal ) {
RefsDebugCheck( !unit->Command.Data.Move.Goal->Refs );
unit->Command.Data.Move.Goal->Refs--;
RefsDebugCheck( !unit->Command.Data.Move.Goal->Refs );
}
}
}
break;