diff --git a/sc2/src/sc2code/pickmele.c b/sc2/src/sc2code/pickmele.c index 6eea23149..afc242a36 100644 --- a/sc2/src/sc2code/pickmele.c +++ b/sc2/src/sc2code/pickmele.c @@ -94,7 +94,7 @@ MeleeShipByQueueIndex (const QUEUE *queue, COUNT index) break; } hNextShip = _GetSuccLink (StarShipPtr); - UnlockStarShip (queue, ship); + UnlockStarShip (queue, hShip); } return hShip;