[x] I confirm that my PR does not contain any commercial or protected assets and/or source code.
[x] I agree in advance that my codes will be licensed automatically under the Apache License or similar BSD/MIT-like
open source licenses in case if OpenNox Project will adopt such a non-GPL license in the future.
Seems gcc14 starts to give error instead of warn, which blocks build on Arch linux. This commit unblocks by adding explicit casting for all errors.
reference: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106416
Required sign-off