mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
ICB: Fix negation of unsigned integer
This commit is contained in:
parent
bd3ac0f812
commit
364e6b0bdd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user