]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/player.qh
Port buttonchat, buttonuse and cursor_active to ClientState
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / player.qh
index 39c0826656f41a8c2b553960c6f4d6e0922a3cf1..137da56b43de34202c949ad30d20efe76bb0ecc1 100644 (file)
@@ -269,9 +269,9 @@ STATIC_INIT(PHYS_INPUT_BUTTON_DODGE)
        #define PHYS_INPUT_BUTTON_BUTTON6(s)        (CS(s).button6)
        #define PHYS_INPUT_BUTTON_BUTTON7(s)        (CS(s).button7)
        #define PHYS_INPUT_BUTTON_BUTTON8(s)        (CS(s).button8)
-       #define PHYS_INPUT_BUTTON_BUTTON_USE(s)     ((s).buttonuse)
-       #define PHYS_INPUT_BUTTON_BUTTON_CHAT(s)    ((s).buttonchat)
-       #define PHYS_INPUT_BUTTON_BUTTON_PRYDON(s)  ((s).cursor_active)
+       #define PHYS_INPUT_BUTTON_BUTTON_USE(s)     (CS(s).buttonuse)
+       #define PHYS_INPUT_BUTTON_BUTTON_CHAT(s)    (CS(s).buttonchat)
+       #define PHYS_INPUT_BUTTON_BUTTON_PRYDON(s)  (CS(s).cursor_active)
        #define PHYS_INPUT_BUTTON_BUTTON9(s)        (CS(s).button9)
        #define PHYS_INPUT_BUTTON_BUTTON10(s)       (CS(s).button10)
        #define PHYS_INPUT_BUTTON_BUTTON11(s)       (CS(s).button11)