- Fixed drop style gameinfo inconsistency.

The gameinfo option was ignored when deciding the initial spawn height position.
This commit is contained in:
Edoardo Prezioso 2016-05-01 11:30:09 +02:00
parent 7d03ed4dc7
commit a17ec55d0d

View file

@ -3158,7 +3158,7 @@ AInventory *P_DropItem (AActor *source, PClassActor *type, int dropamount, int c
int style = sv_dropstyle;
if (style == 0)
{
style = (gameinfo.gametype == GAME_Strife) ? 2 : 1;
style = gameinfo.defaultdropstyle;
}
if (style == 2)
{
@ -3206,7 +3206,7 @@ AInventory *P_DropItem (AActor *source, PClassActor *type, int dropamount, int c
void P_TossItem (AActor *item)
{
int style = sv_dropstyle;
if (style==0) style= gameinfo.defaultdropstyle;
if (style==0) style = gameinfo.defaultdropstyle;
if (style==2)
{