Skip to content

Easy mode logic errors #792

Closed
Closed

Description

@brturn

Looks like PR #760 introduced some logic errors that need fixing.

When checking the seed, easy mode is automatically assigned:

BrogueCE/src/brogue/IO.c

Lines 4391 to 4397 in 2e0ea9a

void printSeed() {
char buf[COLS];
char mode[14] = "";
if (rogue.mode = GAME_MODE_EASY) {
strcpy(mode,"easy mode; ");
} else if (WIZARD_MODE) {

Several mode checks have incorrect logic (!a == b) should be (a != b):

if (!rogue.mode == GAME_MODE_EASY) {

if (!rogue.mode == GAME_MODE_WIZARD && !rogue.playbackMode) {

And when the player wants to enable easy mode, it does not perform the assignment:

message("An ancient and terrible evil burrows into your willing flesh!", REQUIRE_ACKNOWLEDGMENT);
rogue.mode == GAME_MODE_EASY;
setPlayerDisplayChar();

Activity

  1. added a commit that references this issue on Feb 9, 2026
  2. linked a pull request that will close this issueEasy-mode fixes #795on Feb 12, 2026
  3. added a commit that references this issue on Feb 15, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions