From cad62046c41607a5680cb18929ef07687bac8fb5 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 31 Oct 2018 07:32:36 +1000 Subject: [PATCH] Fix octal madness in movetype code macro abuse --- qcsrc/common/physics/movetypes/movetypes.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/physics/movetypes/movetypes.qc b/qcsrc/common/physics/movetypes/movetypes.qc index ef9fbdf0f..6a53e57c2 100644 --- a/qcsrc/common/physics/movetypes/movetypes.qc +++ b/qcsrc/common/physics/movetypes/movetypes.qc @@ -437,8 +437,8 @@ int _Movetype_UnstickEntity(entity this) // SV_UnstickEntity #define X(i) \ if (_Movetype_TestEntityPosition('0 0 -1' * i)) \ if (_Movetype_TestEntityPosition('0 0 1' * i)) - X(01) X(02) X(03) X(04) X(05) X(06) X(07) X(08) - X(09) X(10) X(11) X(12) X(13) X(14) X(15) X(16) + X(1) X(2) X(3) X(4) X(5) X(6) X(7) X(8) + X(9) X(10) X(11) X(12) X(13) X(14) X(15) X(16) X(17) #undef X { -- 2.39.2