brosseaualex / DDWolf

A modernized port of Wolfenstein 3D based on Wolf4SDL.
GNU General Public License v2.0
8 stars 4 forks source link

Fix IN_GetGameControllerHat #19

Closed DenisBelmondo closed 7 months ago

DenisBelmondo commented 7 months ago

Previously, this was assigning the int pointer arguments to the SDL hat state without first dereferencing them. This should fix that, as well as fixing compilation with Clang as it was complaining about pointer to int conversions.

DenisBelmondo commented 7 months ago

My apologies, I've accidentally committed some whitespace trims (I thought I configured my workspace settings not to do this!), will close and resubmit.