Fix shift by values greater than 31 in some voxel loading code.

git-svn-id: https://svn.eduke32.com/eduke32@2165 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-12-09 19:10:21 +00:00
parent f39429fa96
commit b7aacd242a

View file

@ -3,11 +3,11 @@
#include "hightile.h" #include "hightile.h"
#ifdef __POWERPC__ //#ifdef __POWERPC__
#define SHIFTMOD32(a) ((a)&31) #define SHIFTMOD32(a) ((a)&31)
#else //#else
#define SHIFTMOD32(a) (a) //#define SHIFTMOD32(a) (a)
#endif //#endif
typedef struct typedef struct
{ {