- fixed: The targeter must reset its HUD sprites when being reactivated during the blinking phase.
This commit is contained in:
parent
4496885366
commit
9402bcf6cd
2 changed files with 13 additions and 0 deletions
|
|
@ -1296,6 +1296,18 @@ void APowerTargeter::InitEffect ()
|
|||
PositionAccuracy ();
|
||||
}
|
||||
|
||||
bool APowerTargeter::HandlePickup(AInventory *item)
|
||||
{
|
||||
if (Super::HandlePickup(item))
|
||||
{
|
||||
InitEffect(); // reset the HUD sprites
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void APowerTargeter::DoEffect ()
|
||||
{
|
||||
Super::DoEffect ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue