mirror of
https://github.com/HarbourMasters/Starship
synced 2026-07-05 21:59:05 -04:00
Add checkpoint developer tool (doesn't work perfectly)
This commit is contained in:
committed by
Alejandro Asenjo Nitti
parent
0e39eed609
commit
e34419b38e
@@ -4647,6 +4647,13 @@ void Player_Setup(Player* playerx) {
|
||||
|
||||
gDisplayedHitCount = gHitCount;
|
||||
D_hud_80161730 = 0;
|
||||
|
||||
if (CVarGetInteger("gCheckpoint.Set", 0)) {
|
||||
gSavedGroundSurface = CVarGetInteger("gCheckpoint.gSavedGroundSurface", gSavedGroundSurface);
|
||||
gSavedPathProgress = CVarGetFloat("gCheckpoint.gSavedPathProgress", gSavedPathProgress);
|
||||
gSavedObjectLoadIndex = CVarGetInteger("gCheckpoint.gSavedObjectLoadIndex", gSavedObjectLoadIndex);
|
||||
}
|
||||
|
||||
gMissedZoSearchlight = gSavedZoSearchlightStatus;
|
||||
gObjectLoadIndex = gSavedObjectLoadIndex;
|
||||
gGroundSurface = gSavedGroundSurface;
|
||||
|
||||
Reference in New Issue
Block a user