mirror of
https://github.com/Pinsplash/halflife2chaos.git
synced 2024-10-29 23:32:38 +01:00
removed unstuck call from deja vu since setpos_exact already has one
This commit is contained in:
parent
fa02b46e2a
commit
b819b6579a
@ -555,8 +555,6 @@ class CEDejaVu : public CChaosEffect
|
||||
{
|
||||
public:
|
||||
void StartEffect() override;
|
||||
void MaintainEffect() override;
|
||||
bool m_bDone = false;
|
||||
};
|
||||
class CERandomCC : public CChaosEffect
|
||||
{
|
||||
|
@ -9290,12 +9290,6 @@ void CEDejaVu::StartEffect()
|
||||
{
|
||||
engine->ClientCommand(engine->PEntityOfEntIndex(1), "reload setpos");
|
||||
}
|
||||
void CEDejaVu::MaintainEffect()
|
||||
{
|
||||
if (!m_bDone)
|
||||
UTIL_GetLocalPlayer()->GetUnstuck(500);
|
||||
m_bDone = true;
|
||||
}
|
||||
void CERandomCC::StartEffect()
|
||||
{
|
||||
engine->ClientCommand(engine->PEntityOfEntIndex(1), "cc_generate");
|
||||
|
Loading…
Reference in New Issue
Block a user