mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 05:25:01 +03:00
Merge branch 'main' of https://github.com/HarbourMasters/Starship
This commit is contained in:
commit
1cca15ff93
@ -296,7 +296,17 @@ void OnBombCounterDraw(IEvent* ev){
|
||||
}
|
||||
|
||||
void OnLivesCounterDraw(IEvent* ev){
|
||||
ev->cancelled = CVarGetInteger("gRestoreOldBoostGauge", 0) == 1;
|
||||
bool restore = CVarGetInteger("gRestoreOldBoostGauge", 0) == 1;
|
||||
if(!restore){
|
||||
return;
|
||||
}
|
||||
|
||||
if (gPlayState == PLAY_PAUSE || gCurrentLevel == LEVEL_TRAINING) {
|
||||
return;
|
||||
}
|
||||
|
||||
ev->cancelled = true;
|
||||
HUD_LivesCount2_Draw(258.0f, SCREEN_HEIGHT - 20, gLifeCount[gPlayerNum]);
|
||||
}
|
||||
|
||||
void PortEnhancements_Init() {
|
||||
|
Loading…
Reference in New Issue
Block a user