mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed drop style gameinfo inconsistency.
The gameinfo option was ignored when deciding the initial spawn height position.
This commit is contained in:
parent
7d03ed4dc7
commit
a17ec55d0d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue