Remove unused maxtop variable

This commit is contained in:
RedEnchilada 2016-01-02 23:26:22 -06:00
parent 82b4320c61
commit c38af2c6a2

View file

@ -9159,8 +9159,6 @@ void P_PlayerThink(player_t *player)
if ((player->charability == CA_DASHMODE) && !(maptol & TOL_NIGHTS)) // woo, dashmode! no nights tho.
{
#define dashmode player->glidetime
fixed_t maxtop = skins[player->skin].normalspeed * 55/36;
if (player->speed >= FixedMul(skins[player->skin].normalspeed - 5*FRACUNIT, player->mo->scale) || (player->pflags & PF_STARTDASH))
{
dashmode++; // Counter. Adds 1 to dash mode per tic in top speed.