mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2025-02-23 20:21:20 +00:00
Fixed no_stamina disabling shield gauge
Commented out the no_stamina bit. Stamina in Rivensin is used for the energy shield and not running. If this was set in a map, the shield was disabled. Noticeable if playing some user made maps and Hell levels in vanilla campaign.
This commit is contained in:
parent
b651f9dc1d
commit
c793d85bcb
1 changed files with 1 additions and 1 deletions
|
@ -1632,7 +1632,7 @@ void idPlayer::Init( void ) {
|
|||
}
|
||||
// disable stamina on hell levels
|
||||
if ( gameLocal.world && gameLocal.world->spawnArgs.GetBool( "no_stamina" ) ) {
|
||||
pm_stamina.SetFloat( 0.0f );
|
||||
//pm_stamina.SetFloat( 0.0f ); //revility 2020 stamina in Rivensin is used for energy shield gauge.
|
||||
}
|
||||
|
||||
// stamina always initialized to maximum
|
||||
|
|
Loading…
Reference in a new issue