mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- another delta.
This commit is contained in:
parent
fe3a02420a
commit
993d460420
1 changed files with 1 additions and 9 deletions
|
@ -19265,15 +19265,7 @@ int DoShrapVelocity(DSWActor* actor)
|
|||
|
||||
case kHitWall:
|
||||
{
|
||||
short hit_wall,nw,wall_ang;
|
||||
WALLp wph;
|
||||
|
||||
|
||||
hit_wall = u->coll.index;
|
||||
wph = &wall[hit_wall];
|
||||
|
||||
nw = wall[hit_wall].point2;
|
||||
wall_ang = NORM_ANGLE(getangle(wall[nw].x - wph->x, wall[nw].y - wph->y)+512);
|
||||
int wall_ang = NORM_ANGLE(getangle(u->coll.wall()->delta())+512);
|
||||
|
||||
WallBounce(actor, wall_ang);
|
||||
ScaleSpriteVector(actor, 32000);
|
||||
|
|
Loading…
Reference in a new issue