X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fphysics%2Fplayer.qh;h=29c028f03267500aed3f84994ff0b524e14c6c7c;hb=16e64ff58cf65d7b3e0815aadb530580a6aa251b;hp=da48fa698c2086e34049c7fc1ffeb0f9599d5a87;hpb=89f405ba71d1c354dca27a0af246f04fb9ec42e6;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/physics/player.qh b/qcsrc/common/physics/player.qh index da48fa698..29c028f03 100644 --- a/qcsrc/common/physics/player.qh +++ b/qcsrc/common/physics/player.qh @@ -15,7 +15,7 @@ .float swamp_slowdown; .float lastflags; .float lastground; -.float wasFlying; +.bool wasFlying; .int buttons_old; .vector movement_old; @@ -109,6 +109,7 @@ bool IsFlying(entity a); #define PHYS_INPUT_BUTTON_ZOOMSCRIPT(s) PHYS_INPUT_BUTTON_BUTTON9(s) #define PHYS_INPUT_BUTTON_JETPACK(s) PHYS_INPUT_BUTTON_BUTTON10(s) #define PHYS_INPUT_BUTTON_DODGE(s) PHYS_INPUT_BUTTON_BUTTON11(s) +#define PHYS_INPUT_BUTTON_MINIGAME(s) PHYS_INPUT_BUTTON_BUTTON14(s) #ifdef CSQC STATIC_INIT(PHYS_INPUT_BUTTON)