Fixed particle colors for real this time.
Worked around a crash (DIV_FIXED by zero) that happens when the Alien level FERARCO starts.
This commit is contained in:
parent
ae2906ca83
commit
de3fda828d
4 changed files with 11 additions and 8 deletions
|
@ -41,8 +41,7 @@ extern "C" {
|
|||
/* #define _mbclen strlen */
|
||||
size_t _mbclen(const unsigned char *s);
|
||||
|
||||
//#define RGBA_MAKE(r,g,b,a) (((r) << 24) | ((g) << 16) | ((b) << 8) | (a))
|
||||
#define RGBA_MAKE(r,g,b,a) ((((unsigned char)a) << 24) | (((unsigned char)b) << 16) | (((unsigned char)g) << 8) | ((unsigned char)r))
|
||||
#define RGBA_MAKE(r, g, b, a) ((((a) << 24) | ((r) << 16) | ((g) << 8) | (b)))
|
||||
|
||||
#define MAX_PATH PATH_MAX
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue