- fixed god mode being activated automatically, thanks to a variable that got initialized in the wrong place.

This commit is contained in:
Christoph Oelckers 2019-11-03 12:46:53 +01:00
parent 3c7151810f
commit 59fce59a26
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_DUKE_NS
struct osdcmd_cheatsinfo osdcmd_cheatsinfo_stat;
struct osdcmd_cheatsinfo osdcmd_cheatsinfo_stat = { -1, 0, 0 };
static inline int osdcmd_quit(osdcmdptr_t UNUSED(parm))
{

View file

@ -32,7 +32,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_RR_NS
struct osdcmd_cheatsinfo osdcmd_cheatsinfo_stat;
struct osdcmd_cheatsinfo osdcmd_cheatsinfo_stat = { -1, 0, 0 };
static inline int osdcmd_quit(osdcmdptr_t UNUSED(parm))
{