Fix all the gcc warnings
This commit is contained in:
+3
-3
@@ -3235,10 +3235,10 @@ static void CheckOverflow(int &test, int &other, int max, int mult)
|
||||
test = max;
|
||||
}
|
||||
|
||||
static const uint X_DIRS = (1 << DIR_NE) | (1 << DIR_SW);
|
||||
static const uint Y_DIRS = (1 << DIR_SE) | (1 << DIR_NW);
|
||||
// static const uint X_DIRS = (1 << DIR_NE) | (1 << DIR_SW);
|
||||
// static const uint Y_DIRS = (1 << DIR_SE) | (1 << DIR_NW);
|
||||
static const uint HORZ_DIRS = (1 << DIR_W) | (1 << DIR_E);
|
||||
static const uint VERT_DIRS = (1 << DIR_N) | (1 << DIR_S);
|
||||
// static const uint VERT_DIRS = (1 << DIR_N) | (1 << DIR_S);
|
||||
|
||||
/**
|
||||
* Convert a given point and a given #Direction to best matching #Trackdir.
|
||||
|
||||
Reference in New Issue
Block a user