summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index ac0492925..4b4d49d9f 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -287,14 +287,14 @@ static void UpdateShipDeltaXY(Vehicle *v, int dir)
{
#define MKIT(d,c,b,a) ((a&0xFF)<<24) | ((b&0xFF)<<16) | ((c&0xFF)<<8) | ((d&0xFF)<<0)
static const uint32 _delta_xy_table[8] = {
- MKIT( -3, -3, 6, 6),
- MKIT(-16, -3, 32, 6),
- MKIT( -3, -3, 6, 6),
- MKIT( -3,-16, 6, 32),
- MKIT( -3, -3, 6, 6),
- MKIT(-16, -3, 32, 6),
- MKIT( -3, -3, 6, 6),
- MKIT( -3,-16, 6, 32),
+ MKIT( -3, -3, 6, 6),
+ MKIT(-16, -3, 32, 6),
+ MKIT( -3, -3, 6, 6),
+ MKIT( -3, -16, 6, 32),
+ MKIT( -3, -3, 6, 6),
+ MKIT(-16, -3, 32, 6),
+ MKIT( -3, -3, 6, 6),
+ MKIT( -3, -16, 6, 32),
};
#undef MKIT
uint32 x = _delta_xy_table[dir];