From 60201120b098ddaac63642597456c4d607f04a95 Mon Sep 17 00:00:00 2001 From: Steam Deck User Date: Thu, 2 Feb 2023 17:49:42 -0500 Subject: [PATCH] Remove #ifdef around PF_rumble to fix builtin order --- source/pr_cmds.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/pr_cmds.c b/source/pr_cmds.c index b6bc782..0b2a62b 100644 --- a/source/pr_cmds.c +++ b/source/pr_cmds.c @@ -3246,7 +3246,7 @@ void PF_ArgV (void) strcpy(s, tempc); G_INT(OFS_RETURN) = PR_SetEngineString(s); } -#ifdef VITA + /* ================= PF_rumble @@ -3260,9 +3260,10 @@ void PF_rumble (void) float intensity_small = G_FLOAT(OFS_PARM0); float intensity_large = G_FLOAT(OFS_PARM1); float duration = G_FLOAT(OFS_PARM2); +#ifdef VITA IN_StartRumble(intensity_small, intensity_large, duration); +#endif // VITA } -#endif static builtin_t pr_builtin[] = { @@ -3398,9 +3399,7 @@ static builtin_t pr_builtin[] = NULL, // #129 NULL, // #130 NULL, // #131 - #ifdef VITA PF_rumble, // #132 - #endif NULL, // #133 NULL, // #134 NULL, // #135