brosseaualex / DDWolf

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

Fix IN_GetGameControllerHat #20

Closed DenisBelmondo closed 7 months ago

DenisBelmondo commented 9 months ago

Previously, IN_GetGameControllerHat did not first dereference the int pointer arguments before assigning. This should fix that, as well as fixing compilation on Clang as it was tripping on int to pointer conversions.