| 15 | } |
| 16 | |
| 17 | void CGameEffectDrag::Update(CGameObject *parent) |
| 18 | { |
| 19 | if (LastMoveTime > g_Ticks) |
| 20 | { |
| 21 | return; |
| 22 | } |
| 23 | |
| 24 | OffsetX += 8; |
| 25 | OffsetY += 8; |
| 26 | |
| 27 | LastMoveTime = g_Ticks + MoveDelay; |
| 28 | |
| 29 | if (Duration < g_Ticks) |
| 30 | { |
| 31 | g_EffectManager.RemoveEffect(this); |
| 32 | } |
| 33 | } |
nothing calls this directly
no test coverage detected