TOMB5 / TOMB5

Tomb Raider: Chronicles Disassembly translated to C source code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Arch Linux] Lara's Right Arm Fidgets Back and Forth

RevoSucks opened this issue · comments

commented

When drawing guns, Lara's right arm fidgets back and forth between right angles.

image
image

camera.type = COMBAT_CAMERA;

lines were commented out, as otherwise a black screen occurs on Linux builds preventing this issue from being seen.

The following attempted fix did not work:

//InterpolateArmMatrix_CL(t8, (int*)&t8[64]);

Commenting these lines out did not fix it. The issue may be something fundamental with calculating Lara matrices.

commented

Bug was caused by a temporary hack done to
t8[9] = (int)&lara.right_arm.frame_base[((lara.right_arm.frame_number - anim->frame_base) * (anim->interpolation >> 8) + 9)];

Undid this, now it is resolved.