diff --git a/Source/diablo.cpp b/Source/diablo.cpp index ace69bae4..8c212d1e0 100644 --- a/Source/diablo.cpp +++ b/Source/diablo.cpp @@ -239,7 +239,7 @@ BOOL diablo_get_not_running() SetLastError(0); CreateEvent(NULL, FALSE, FALSE, "DiabloEvent"); #ifdef HELLFIRE - CreateEventA(0, 0, 0, "HellfireEvent"); + CreateEvent(NULL, FALSE, FALSE, "HellfireEvent"); #endif return GetLastError() != ERROR_ALREADY_EXISTS; }