Skip to content

Clear the save-loading flag when loading fails #3464

Description

@xezon

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

Raised by bots in #3463

GameStateMap::xfer() sets the flag before map extraction and save-data transfer, but clears it only after TheGameLogic->startNewGame( TRUE ) returns. If the transfer fails, GameState::loadGame() calls TheGameEngine->reset(), but GameLogic::reset() does not clear m_loadingSave. The failed load can leave the game logic marked as loading a save.

Reproduction Steps

Additional Context

No response

Activity

  1. added theissue type on Oct 10, 2026
  2. added
    BugSomething is not working right, typically is user facing
    ⚠️ TriageIssues requiring initial review and prioritization
    SaveloadIs Saveload/Xfer related
    and removed
    ⚠️ TriageIssues requiring initial review and prioritization
    on Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facingSaveloadIs Saveload/Xfer related

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions