mapster32 script: when defining an event, enable it automatically

git-svn-id: https://svn.eduke32.com/eduke32@2075 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-10-11 16:53:29 +00:00
parent 2247b77126
commit 5b369505f1

View file

@ -2180,6 +2180,8 @@ static int32_t C_ParseCommand(void)
// initprintf(" o:%d s:%d\n", aEventOffsets[j], aEventSizes[j]); // initprintf(" o:%d s:%d\n", aEventOffsets[j], aEventSizes[j]);
} }
aEventEnabled[j] = 1;
g_didDefineSomething = 1; g_didDefineSomething = 1;
cs.parsingEventOfs = -1; cs.parsingEventOfs = -1;