Browse Source

Correct prameter type for PressChar

This fixes the signed ness of the if in Hellfire
pull/944/head
Anders Jenbo 5 years ago
parent
commit
7e5da498d7
  1. 2
      Source/diablo.cpp

2
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;

Loading…
Cancel
Save