Opened 14 years ago

Closed 14 years ago

Last modified 19 months ago

#8588 closed patch

Enable the command line --debugflags before engine.init()

Reported by: jvprat Owned by: sev-
Priority: normal Component: --Other--
Keywords: Cc:
Game:

Description

As described in the wiki HOWTO-Engines, the engine specific debug levels should be added in the engine constructor. Then, one would expect to be able to use them in the init function, but they only work if you call enableSpecialDebugLevel and not when enabling them via the command line. The attached patch enables the command line debug flags before calling the init() function.

Ticket imported from: #1595319. Ticket imported from: patches/693.

Attachments (1)

enabledebug.patch (794 bytes ) - added by jvprat 14 years ago.
Enable the command line --debugflags before engine.init()

Download all attachments as: .zip

Change History (4)

by jvprat, 14 years ago

Attachment: enabledebug.patch added

Enable the command line --debugflags before engine.init()

comment:1 by sev-, 14 years ago

Thanks for spotting, committed to SVN.

comment:2 by sev-, 14 years ago

Owner: set to sev-
Status: newclosed

comment:3 by digitall, 19 months ago

Component: --Other--
Note: See TracTickets for help on using tickets.