mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Exhumed: Clean out some stale goto calls that were commented out.
* Only two remaining gotos to handle now.
This commit is contained in:
parent
611d7bae98
commit
0842ea3c14
1 changed files with 1 additions and 7 deletions
|
@ -1408,8 +1408,6 @@ sectdone:
|
|||
nActionB = 3;
|
||||
}
|
||||
}
|
||||
|
||||
// goto loc_1BE70:
|
||||
}
|
||||
else if (pPlayer->input.actions & SB_CROUCH)
|
||||
{
|
||||
|
@ -1432,8 +1430,6 @@ sectdone:
|
|||
nActionB = 7;
|
||||
}
|
||||
}
|
||||
|
||||
// goto loc_1BE70:
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1489,9 +1485,7 @@ sectdone:
|
|||
|
||||
// loc_1BE70:
|
||||
// Handle player pressing number keys to change weapon
|
||||
uint8_t var_90 = pPlayer->input.getNewWeapon();
|
||||
|
||||
if (var_90)
|
||||
if (uint8_t var_90 = pPlayer->input.getNewWeapon())
|
||||
{
|
||||
var_90--;
|
||||
|
||||
|
|
Loading…
Reference in a new issue