Cambiados los ifndef RELEASE por ifdef DEBUG

This commit is contained in:
2022-11-14 22:35:05 +01:00
parent 6cac55a54f
commit e2846023da
3 changed files with 10 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
this->debug = debug;
this->options = options;
#ifndef RELEASE
#ifdef DEBUG
currentRoom = "14.room";
const int x1 = 1;
const int y1 = 13;
@@ -96,7 +96,7 @@ void Game::checkEventHandler()
case SDL_SCANCODE_ESCAPE:
section.name = SECTION_PROG_TITLE;
break;
#ifndef RELEASE
#ifdef DEBUG
case SDL_SCANCODE_G:
debug->switchEnabled();
options->cheat.invincible = debug->getEnabled();