From ba78dda27692ea2e291b5503904521e8e277152f Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Sat, 10 Sep 2016 22:44:28 +0100 Subject: [PATCH] Just noticed when poking around in dashmodecode that it didn't actually get stopped from running when you were playing in CTF! --- src/p_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index 24b547786..90f021377 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -9153,7 +9153,7 @@ void P_PlayerThink(player_t *player) #define dashmode player->dashmode // Dash mode ability for Metal Sonic - if ((player->charability == CA_DASHMODE) && !(maptol & TOL_NIGHTS)) // woo, dashmode! no nights tho. + if ((player->charability == CA_DASHMODE) && !(player->gotflag) && !(maptol & TOL_NIGHTS)) // woo, dashmode! no nights tho. { if (player->speed >= FixedMul(player->runspeed, player->mo->scale) || (player->pflags & PF_STARTDASH)) {