CCopBulletTracer::Move

This commit is contained in:
krystalgamer 2024-09-25 18:55:17 +02:00
parent 5ba3c2170f
commit 75d4e66f29

19
cop.cpp
View File

@ -466,9 +466,26 @@ void CCop::LookForPlayer(void)
}
}
// @SMALLTODO
// @Ok
// @Matching
void CCopBulletTracer::Move(void)
{
this->SetWidth();
if (this->mMaxWidth)
this->mMaxWidth = mMaxWidth - 1;
this->mpRibbon->mpPoints[this->field_C].r = 0;
this->mpRibbon->mpPoints[this->field_C].g = 0;
this->mpRibbon->mpPoints[this->field_C].b = 0;
this->mpRibbon2->mpPoints[this->field_C].r = 0;
this->mpRibbon2->mpPoints[this->field_C].g = 0;
this->mpRibbon2->mpPoints[this->field_C].b = 0;
if ( this->field_C < 4 )
this->field_C++;
else
this->Die();
}
// @Ok