- Changed gameinfo_t and gameborder_t to be named structs instead of
typedef'ed anonymous structs. - Fixed: P_AutoUseHealth() used autousemodes 0 and 1 instead of 1 and 2. - Fixed: SBARINFO did not recognize 5:4 aspect ratio. - Fixed: screenshot_dir was ignored. SVN r1505 (trunk)
This commit is contained in:
parent
03e8f0e355
commit
854097ba03
5 changed files with 17 additions and 10 deletions
|
|
@ -779,8 +779,8 @@ void P_AutoUseHealth(player_t *player, int saveHealth)
|
|||
{
|
||||
int mode = static_cast<AHealthPickup*>(inv)->autousemode;
|
||||
|
||||
if (mode == 0) NormalHealthItems.Push(inv);
|
||||
else if (mode == 1) LargeHealthItems.Push(inv);
|
||||
if (mode == 1) NormalHealthItems.Push(inv);
|
||||
else if (mode == 2) LargeHealthItems.Push(inv);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue