diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index 4baddbdb4..dfa549cec 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -3058,12 +3058,8 @@ DO_DEFSTATE: C_ReportError(WARNING_BADGAMEVAR); } - Gv_NewVar(label+(g_numLabels<<6),*(g_scriptPtr-2), - (*(g_scriptPtr-1)) - // can't define default or secret - & (~(GAMEVAR_DEFAULT | GAMEVAR_SECRET)) - ); - g_scriptPtr -= 3; // no need to save in script... + Gv_NewVar(label+(g_numLabels<<6), *(g_scriptPtr-2), (*(g_scriptPtr-1)) & (~GAMEVAR_DEFAULT)); + g_scriptPtr -= 3; continue; case CON_GAMEARRAY: diff --git a/polymer/eduke32/source/gamevars.c b/polymer/eduke32/source/gamevars.c index 66fdbde33..6220ab8b5 100644 --- a/polymer/eduke32/source/gamevars.c +++ b/polymer/eduke32/source/gamevars.c @@ -366,9 +366,6 @@ void Gv_DumpValues(void) for (i=0; i