Bug #1220

Bots with MG42 not facing the right direction

Added by Spyhawk 2 months ago. Updated 2 months ago.

Status:New% Done:

0%

Priority:HighSpent time:-
Assignee:-
Category:Mod generic
Target version:2.77
OS: Arch:

Description

Bots with MG42 aren’t always facing the right direction. They are sometimes (but not always) rotated by 90°.

2019-03-11-193333-oasis.jpg (180 KB) Spyhawk, 13.03.2019 17:58

2019-03-13-175421-oasis.jpg (229 KB) Spyhawk, 13.03.2019 17:58

2019-03-13-175439-oasis.jpg (265 KB) Spyhawk, 13.03.2019 17:59

1060
1061
1062

History

#1 Updated by Spyhawk 2 months ago

Bisected the issue to https://github.com/etlegacy/etlegacy/commit/f366e03b62e81f231d0f329c24a6746523762dac.
I don’t understand what’s going on, but I guess something goes wrong in `AddWeaponToPlayer` when adding the weapon to bots. (not the right commit)

Edit: see CalcMuzzlePoints maybe?

Also available in: Atom PDF