]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix the special command not being recognized
authorterencehill <piuntn@gmail.com>
Sun, 13 Jun 2021 12:22:08 +0000 (14:22 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 13 Jun 2021 12:22:08 +0000 (14:22 +0200)
qcsrc/common/physics/player.qc

index 24967d1c8169e547dde7fbd3e52cc8d998c65fd7..2fd3f9fb59eb94dccba55254e6ca6708a12b3fa3 100644 (file)
@@ -531,7 +531,7 @@ bool PM_check_specialcommand(entity this, int buttons)
                c = "x";
        else if (buttons == 1)
                c = "1";
-       else if (buttons == 2)
+       else if (buttons == 4)
                c = " ";
        else if (buttons == 128)
                c = "s";