From: Mario Date: Tue, 30 Oct 2018 21:32:36 +0000 (+1000) Subject: Fix octal madness in movetype code macro abuse X-Git-Tag: xonotic-v0.8.5~1737 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cad62046c41607a5680cb18929ef07687bac8fb5;p=xonotic%2Fxonotic-data.pk3dir.git Fix octal madness in movetype code macro abuse --- 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 {