Commit Graph

2 Commits

Author SHA1 Message Date
Sergey Alirzaev 75eac05e2e source/game/obj/object.h: don't complain about int overflow
./source/game/obj/object.h:19:49: warning: result of ‘(255 << 26)’ requires 35 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
 const unsigned ObjectTypeMask = (unsigned)(0xFF << ObjectTypeBitOffset);
                                            ~~~~~^~~~~~~~~~~~~~~~~~~~~~
2018-09-26 11:41:34 +03:00
Lucas de Vries cc307720ff Open source Star Ruler 2 source code! 2018-07-17 14:15:37 +02:00