Skip to content

Commit

Permalink
A newly spawned HECTOR now has 100% shields instead of 40% shields an…
Browse files Browse the repository at this point in the history
…d fast regen

Slightly rotated HUD parts to point more directly at the camera
  • Loading branch information
Ymihere03 committed Feb 23, 2024
1 parent 0026ace commit 52e9f04
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/game/CAbstractPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,11 +888,11 @@ void CAbstractPlayer::DashboardPosition(CScaledBSP *part, bool autoRot, float x,

if (autoRot) {
if (x < 0.0) {
yAng = -60*x + 15;
yAng = -35*x + 15;
}

if (x > 0.0) {
yAng = -60*x - 15;
yAng = -35*x - 15;
}
}

Expand Down Expand Up @@ -1830,11 +1830,11 @@ bool CAbstractPlayer::ReincarnateComplete(CIncarnator* newSpot) {
if (reEnergize) {
boostEndFrame = itsGame->FramesFromNow(MINIBOOSTTIME);
reEnergize = false;
if (shields < (maxShields >> 1))
shields = maxShields >> 1;
if (shields < maxShields)
shields = maxShields;

if (energy < (maxEnergy >> 1))
energy = maxEnergy >> 1;
if (energy < maxEnergy)
energy = maxEnergy;
}

doIncarnateSound = true;
Expand Down

0 comments on commit 52e9f04

Please sign in to comment.