mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 02:42:38 +01:00
- fix Tanner turn animation
This commit is contained in:
parent
25d8b897a8
commit
5ee58b06a2
@ -711,6 +711,10 @@ void DrawBodySprite(PEDESTRIAN *pDrawingPed, int boneId, VERTTYPE v1[2], VERTTYP
|
||||
prims->b0 = combointensity & 0xFF;
|
||||
}
|
||||
|
||||
#ifndef PSX
|
||||
prims->pgxp_index = 0xFFFF;
|
||||
#endif
|
||||
|
||||
if (bDoingShadow == 0)
|
||||
{
|
||||
x = sz + sy >> 4;
|
||||
|
@ -1898,8 +1898,10 @@ void PedDoNothing(PEDESTRIAN* pPed)
|
||||
|
||||
pPed->dir.vy = pPed->dir.vy - 64 + (tannerTurnMax - pPed->doing_turn) * tannerTurnStep;
|
||||
|
||||
if (pPed->frame1 > 16)
|
||||
if (pPed->frame1 > 14)
|
||||
pPed->frame1 = 0;
|
||||
else
|
||||
pPed->frame1++;
|
||||
|
||||
pPed->head_rot = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user