Some corrections.
This commit is contained in:
parent
2765868940
commit
f9120e3a44
10
src/m_menu.c
10
src/m_menu.c
|
@ -7473,8 +7473,8 @@ static void M_ServerOptions(INT32 choice)
|
||||||
OP_ServerOptionsMenu[ 2].status = IT_GRAYEDOUT; // Max players
|
OP_ServerOptionsMenu[ 2].status = IT_GRAYEDOUT; // Max players
|
||||||
OP_ServerOptionsMenu[ 3].status = IT_GRAYEDOUT; // Allow WAD downloading
|
OP_ServerOptionsMenu[ 3].status = IT_GRAYEDOUT; // Allow WAD downloading
|
||||||
OP_ServerOptionsMenu[ 4].status = IT_GRAYEDOUT; // Allow players to join
|
OP_ServerOptionsMenu[ 4].status = IT_GRAYEDOUT; // Allow players to join
|
||||||
OP_ServerOptionsMenu[30].status = IT_GRAYEDOUT; // Master server
|
OP_ServerOptionsMenu[33].status = IT_GRAYEDOUT; // Master server
|
||||||
OP_ServerOptionsMenu[31].status = IT_GRAYEDOUT; // Attempts to resynchronise
|
OP_ServerOptionsMenu[34].status = IT_GRAYEDOUT; // Attempts to resynchronise
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -7483,10 +7483,10 @@ static void M_ServerOptions(INT32 choice)
|
||||||
OP_ServerOptionsMenu[ 3].status = IT_STRING | IT_CVAR;
|
OP_ServerOptionsMenu[ 3].status = IT_STRING | IT_CVAR;
|
||||||
OP_ServerOptionsMenu[ 4].status = IT_STRING | IT_CVAR;
|
OP_ServerOptionsMenu[ 4].status = IT_STRING | IT_CVAR;
|
||||||
if (netgame)
|
if (netgame)
|
||||||
OP_ServerOptionsMenu[30].status = IT_GRAYEDOUT;
|
OP_ServerOptionsMenu[33].status = IT_GRAYEDOUT;
|
||||||
else
|
else
|
||||||
OP_ServerOptionsMenu[30].status = IT_STRING | IT_CVAR | IT_CV_STRING;
|
OP_ServerOptionsMenu[33].status = IT_STRING | IT_CVAR | IT_CV_STRING;
|
||||||
OP_ServerOptionsMenu[31].status = IT_STRING | IT_CVAR;
|
OP_ServerOptionsMenu[34].status = IT_STRING | IT_CVAR;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1309,7 +1309,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
||||||
players[i].starpostangle = special->angle;
|
players[i].starpostangle = special->angle;
|
||||||
players[i].starpostnum = special->health;
|
players[i].starpostnum = special->health;
|
||||||
|
|
||||||
if (cv_respawntype.value == 1 && && players[i].lives > 0 && players[i].playerstate == PST_DEAD)
|
if (cv_respawntype.value == 1 && players[i].lives > 0 && players[i].playerstate == PST_DEAD)
|
||||||
players[i].playerstate = PST_REBORN;
|
players[i].playerstate = PST_REBORN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue