diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 58288d9e1..5af056e3e 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -5040,7 +5040,7 @@ bool GetVarAddrType(AActor *self, FName varname, int index, void *&addr, PType * } addr = baddr; // We don't want Int subclasses like Name or Color to be accessible here. - if (!type->isInt() && !type->isFloat()) + if (!type->isInt() && !type->isFloat() && type != TypeBool) { // For reading, we also support Name and String types. if (readonly && (type == TypeName || type == TypeString))