Missing {} added.
This commit is contained in:
parent
6d1559429d
commit
dfc28e7e15
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue