mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 21:20:39 +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:
|
case kHitWall:
|
||||||
{
|
{
|
||||||
short hit_wall,nw,wall_ang;
|
int wall_ang = NORM_ANGLE(getangle(u->coll.wall()->delta())+512);
|
||||||
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);
|
|
||||||
|
|
||||||
WallBounce(actor, wall_ang);
|
WallBounce(actor, wall_ang);
|
||||||
ScaleSpriteVector(actor, 32000);
|
ScaleSpriteVector(actor, 32000);
|
||||||
|
|
Loading…
Reference in a new issue