Skip to content

Fix debug commands for release builds #1472

@ghost

Description

Throughout the code you will see stuff like:

#ifdef _DEBUG
if ( godmode || p == pnum)
#else 
if ( p == pnum)

There's no way they wrote the code like this. Given that all of the affected debug flags are not present in the release build's memory, it implies they did the following:

#ifdef _DEBUG
int godmode = TRUE;
#else 
#define godmode 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions