mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
Fix usage of possibly wrong address in sw/src/player.cpp:DoPlayerHorizon
This commit is contained in:
parent
10a5120e40
commit
b0318afbdb
1 changed files with 1 additions and 1 deletions
|
@ -1944,7 +1944,7 @@ DoPlayerHorizon(PLAYERp pp, fix16_t *pq16horiz, fix16_t q16aimvel)
|
|||
pp->q16horizbase = fix16_sadd(pp->q16horizbase, fix16_from_float(scaleAdjustmentToInterval((HORIZ_SPEED*6))));
|
||||
pp->q16horizbase = fix16_min(pp->q16horizbase, fix16_from_int(100));
|
||||
}
|
||||
pp->camq16horiz = pp->q16horizbase;
|
||||
*pq16horiz = pp->q16horizbase;
|
||||
pp->q16horizoff = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue