mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed flag capture timer. Closes #1454
This commit is contained in:
parent
2460ddf12a
commit
c9bf87e757
|
@ -28,10 +28,10 @@ void CFlag::Reset()
|
||||||
|
|
||||||
void CFlag::Grab(CCharacter *pChar)
|
void CFlag::Grab(CCharacter *pChar)
|
||||||
{
|
{
|
||||||
m_AtStand = false;
|
|
||||||
m_pCarrier = pChar;
|
m_pCarrier = pChar;
|
||||||
if(m_AtStand)
|
if(m_AtStand)
|
||||||
m_GrabTick = Server()->Tick();
|
m_GrabTick = Server()->Tick();
|
||||||
|
m_AtStand = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CFlag::Drop()
|
void CFlag::Drop()
|
||||||
|
|
Loading…
Reference in a new issue