1. Yes, red and blue are switched between. =P
fix for it is to change:
Code:
#define pack_color(%0,%1,%2) ( %0 + ( %1 << 8 ) + ( %2 << 16 ) )
to:
Code:
#define pack_color(%0,%1,%2) ( %2 + ( %1 << 8 ) + ( %0 << 16 ) )
2. Format a message before you call this function.
__________________