mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-26 23:00:30 +00:00
CCopBulletTracer::Move
This commit is contained in:
parent
5ba3c2170f
commit
75d4e66f29
19
cop.cpp
19
cop.cpp
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user