mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed: A_CheckTerrain must add to the actor's current velocity, not set it.
This commit is contained in:
parent
d6d9057f1f
commit
d87665bfe0
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_CheckTerrain)
|
|||
int anglespeed = tagManager.GetFirstSectorTag(sec) - 100;
|
||||
double speed = (anglespeed % 10) / 16.;
|
||||
DAngle an = (anglespeed / 10) * (360 / 8.);
|
||||
self->VelFromAngle(an, speed);
|
||||
self->Thrust(an, speed);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue