mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- fix Tanner shadow height
This commit is contained in:
parent
1d417c18cb
commit
19ae398c3e
@ -1624,11 +1624,17 @@ void DrawTanner(PEDESTRIAN* pPed)
|
||||
iCurrBone = 0;
|
||||
newShowTanner(pPed);
|
||||
|
||||
v.vx = pPed->position.vx;
|
||||
v.vy = -pPed->position.vy;
|
||||
v.vz = pPed->position.vz;
|
||||
|
||||
v.vy = -camera_position.vy - MapHeight(&v);// - camera_position.vy;
|
||||
|
||||
v.vx = (pPed->position.vx - camera_position.vx) + Skel[ROOT].pvOrigPos->vx;
|
||||
v.vz = (pPed->position.vz - camera_position.vz) + Skel[ROOT].pvOrigPos->vz;
|
||||
//v.vy = -camera_position.vy - MapHeight((VECTOR*)&pPed->position);
|
||||
|
||||
bDoingShadow = 1;
|
||||
v.vy = -camera_position.vy - MapHeight((VECTOR*)&pPed->position);
|
||||
|
||||
if (pPed->padId == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user