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;