ICB: Fix negation of unsigned integer

This commit is contained in:
elasota 2023-07-05 22:34:02 -04:00 committed by Eugene Sandulenko
parent bd3ac0f812
commit 364e6b0bdd

View File

@ -74,7 +74,7 @@ Breath::Breath() {
#define SMOKE_IC (32)
#define SMOKE_IS (4)
#define BREATH_DY (-(g_icb->getRandomSource()->getRandomNumber(2 - 1)))
#define BREATH_DY (-static_cast<int>(g_icb->getRandomSource()->getRandomNumber(2 - 1)))
#define BREATH_DZ (g_icb->getRandomSource()->getRandomNumber(4 - 1))
#define BREATH_DC (-4)
#define BREATH_DS (2)