1dot13 / source

Source code for the game executable of the Jagged Alliance 2 v1.13 project
102 stars 18 forks source link

Face gear offset fix #214

Closed andrzejfalkowski closed 1 year ago

andrzejfalkowski commented 1 year ago

Face gear (with TOPTION_SHOW_TACTICAL_FACE_GEAR) was offset by one in X and Y compared to the face, probably due to copypasta from portrait icons, causing rendered assets to be shifted and cut off. Most noticeable on gas masks. "GetXYForRightIconPlacement_FaceGera" is only used for face gear, so this offset can be safely removed.

Before: facegear_before After: facegear_after