Fix SPB being way too fast in current sections where the player has no control

This commit is contained in:
Latapostrophe authored and wolfy852 committed 2019-04-22 20:40:17 -05:00
1 parent b128f44986
commit 5619e63e39
1 file changed
+3
+3
View File
@@ -8434,6 +8434,9 @@ void A_SPBChase(mobj_t *actor)
wspeed = (3*defspeed)/2;
if (wspeed < 20*actor->tracer->scale)
wspeed = 20*actor->tracer->scale;
if (actor->tracer->player->pflags & PF_SLIDING)
wspeed = actor->tracer->player->speed/2;
// ^^^^ current section: These are annoying, and grand metropolis in particular needs this.
hang = R_PointToAngle2(actor->x, actor->y, actor->tracer->x, actor->tracer->y);
vang = R_PointToAngle2(0, actor->z, dist, actor->tracer->z);