Function MeleeCheckAddedUnit

Line
9634
Location
blizzard.j
Constant?
no
Type
function
Arguments
unit addedUnit
Returns
nothing
9634
function MeleeCheckAddedUnit takes unit addedUnit returns nothing
9635
    local player addedUnitOwner = GetOwningPlayer(addedUnit)
9636
9637
    // If the player was crippled, this unit may have uncrippled him/her.
9638
    if (bj_playerIsCrippled[GetPlayerId(addedUnitOwner)]) then
9639
        call MeleeCheckForCrippledPlayers()
9640
    endif
9641
endfunction