Just noticed when poking around in dashmodecode that it didn't actually get stopped from running when you were playing in CTF!

This commit is contained in:
toasterbabe 2016-09-10 22:44:28 +01:00
parent cd0c2347df
commit ba78dda276
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{