GZDoom is now more strict when it comes to errors and warnings.
I can't check this currently, but you mention "damage", which is an integer. Floats shouldn't be used in this case.
The engine does truncate the decimal part, yes. The difference now is that it tells you, because it considers it "loss of data" (or something like that - not sure about the exact term). An explicit conversion from float to integer should solve this, I think.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The game starts and runs fine, since it's just a warning, not a fatal error. Now that I had a look, fixing the warnings is easy: the damage parameter for A_FireBullets is an integer, so you can have it as 7 or 8, and nothing in between. I say go with 7.
I have to say, this came a long way. My gripes seem to have been addressed, except one; the firing sound is still being cut off by the reload sound.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.