Bug #1220

Bots with MG42 not facing the right direction

Added by Spyhawk 6 months ago. Updated 3 months ago.

Status:Feedback% Done:


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


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



#1 Updated by Spyhawk 6 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?

#2 Updated by Spyhawk 3 months ago

  • Status changed from New to Confirmed

#3 Updated by Spyhawk 3 months ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 30

This doesn’t seem to happen anymore since the last test release on the official server. I can reproduced locally however.

Also available in: Atom PDF