8000 Fix debug commands for release builds · Issue #1472 · diasurgical/devilution · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Fix debug commands for release builds #1472
Open
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0