From 7e5da498d73ec895eb3a74aa8d431465102347b5 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Fri, 11 Dec 2020 09:36:50 +0100 Subject: [PATCH] Correct prameter type for PressChar This fixes the signed ness of the if in Hellfire --- Source/diablo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/diablo.cpp b/Source/diablo.cpp index 1ed23971f..0bd2cd107 100644 --- a/Source/diablo.cpp +++ b/Source/diablo.cpp @@ -1264,7 +1264,7 @@ static void PressKey(int vkey) /** * @internal `return` must be used instead of `break` to be bin exact as C++ */ -static void PressChar(int vkey) +static void PressChar(WPARAM vkey) { if (gmenu_is_active() || control_talk_last_key(vkey) || sgnTimeoutCurs != CURSOR_NONE || deathflag) { return;