From: ozkl Date: Sun, 12 Apr 2026 11:23:43 +0000 (+0300) Subject: boolean fix X-Git-Url: https://git.0x19.co/screenshots/static/gitweb.js?a=commitdiff_plain;h=dcb7a8dbc7a16ce3dda29382ac9aae9d77d21284;p=doomgeneric-snom360 boolean fix --- diff --git a/doomgeneric/doomtype.h b/doomgeneric/doomtype.h index 7acaa49..dc14bc5 100644 --- a/doomgeneric/doomtype.h +++ b/doomgeneric/doomtype.h @@ -64,9 +64,8 @@ #if defined(__cplusplus) || defined(__bool_true_false_are_defined) -// Use builtin bool type with C++. - -typedef unsigned char boolean; +//boolean is cast to int* in doom. so to keep size the same, make boolean an int. +typedef unsigned int boolean; #else