]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix octal madness in movetype code macro abuse
authorMario <mario@smbclan.net>
Tue, 30 Oct 2018 21:32:36 +0000 (07:32 +1000)
committerMario <mario@smbclan.net>
Tue, 30 Oct 2018 21:32:57 +0000 (07:32 +1000)
qcsrc/common/physics/movetypes/movetypes.qc

index ef9fbdf0f16b4e66388a9d6bf8312b106c065a70..6a53e57c26f0e2c1c9433efb184df054406e93f2 100644 (file)
@@ -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
         {