mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-16 09:42:57 +00:00
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:
parent
cd0c2347df
commit
ba78dda276
1 changed files with 1 additions and 1 deletions
|
@ -9153,7 +9153,7 @@ void P_PlayerThink(player_t *player)
|
||||||
|
|
||||||
#define dashmode player->dashmode
|
#define dashmode player->dashmode
|
||||||
// Dash mode ability for Metal Sonic
|
// 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))
|
if (player->speed >= FixedMul(player->runspeed, player->mo->scale) || (player->pflags & PF_STARTDASH))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue