some more clearbuf -> memset in gamedef.c plus add a forgotten keystatus

reset in the editor

git-svn-id: https://svn.eduke32.com/eduke32@2191 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-12-21 18:42:32 +00:00
parent a7d1177d23
commit 6b913a39aa
2 changed files with 3 additions and 2 deletions

View file

@ -3320,6 +3320,7 @@ void overheadeditor(void)
if (highlightsectorcnt > 0 && !hl_all_bunch_sectors_p()) if (highlightsectorcnt > 0 && !hl_all_bunch_sectors_p())
{ {
printmessage16("To flip extended sectors, all sectors of a bunch must be selected"); printmessage16("To flip extended sectors, all sectors of a bunch must be selected");
keystatus[0x2d] = keystatus[0x15] = 0;
} }
else else
#endif #endif

View file

@ -5689,9 +5689,9 @@ void C_Compile(const char *filenam)
char *mptr; char *mptr;
int32_t i; int32_t i;
int32_t fs,fp; int32_t fs,fp;
int32_t startcompiletime; uint32_t startcompiletime;
clearbuf(apScriptGameEvent,MAXGAMEEVENTS,0L); Bmemset(apScriptGameEvent, 0, sizeof(apScriptGameEvent));
C_InitHashes(); C_InitHashes();
Gv_Init(); Gv_Init();