Added a quote message for DNMONSTERS, fixed a MSVC compile error

git-svn-id: https://svn.eduke32.com/eduke32@314 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-10-17 01:12:31 +00:00
parent 6dcdd0148a
commit 96c035d63b
2 changed files with 18 additions and 8 deletions

View file

@ -3063,12 +3063,15 @@ void overheadeditor(void)
for(i=0;i<highlightsectorcnt;i++) for(i=0;i<highlightsectorcnt;i++)
{ {
startwall = sector[highlightsector[i]].wallptr; endwall = startwall+sector[highlightsector[i]].wallnum-1; long startofloop;
long startofloop = startwall; long endofloop;
long endofloop = endwall;
long numtoswap = -1; long numtoswap = -1;
long w=0; long w=0;
walltype tempwall; walltype tempwall;
startofloop = startwall = sector[highlightsector[i]].wallptr;
endofloop = endwall = startwall+sector[highlightsector[i]].wallnum-1;
/* /*
if (k != 0) if (k != 0)
{ {
@ -3180,12 +3183,14 @@ void overheadeditor(void)
for(i=0;i<highlightsectorcnt;i++) for(i=0;i<highlightsectorcnt;i++)
{ {
startwall = sector[highlightsector[i]].wallptr; endwall = startwall+sector[highlightsector[i]].wallnum-1; long startofloop;
long startofloop = startwall; long endofloop;
long endofloop = endwall;
long numtoswap = -1; long numtoswap = -1;
long w=0; long w=0;
walltype tempwall; walltype tempwall;
startofloop = startwall = sector[highlightsector[i]].wallptr;
endofloop = endwall = startwall+sector[highlightsector[i]].wallnum-1;
/* /*
if (k != 0) if (k != 0)
{ {

View file

@ -7135,12 +7135,17 @@ FOUNDCHEAT:
return; return;
case CHEAT_MONSTERS: case CHEAT_MONSTERS:
if(actor_tog == 3) actor_tog = 0; {
char *s[] = { "ON", "OFF", "ON (BLOCKING)" };
actor_tog++; actor_tog++;
if(actor_tog == 3) actor_tog = 0;
ps[screenpeek].cheat_phase = 0; ps[screenpeek].cheat_phase = 0;
Bsprintf(fta_quotes[122],"MONSTERS: %s",s[actor_tog]);
FTA(122,&ps[myconnectindex]);
KB_FlushKeyBoardQueue(); KB_FlushKeyBoardQueue();
return; return;
}
case CHEAT_RESERVED: case CHEAT_RESERVED:
case CHEAT_RESERVED3: case CHEAT_RESERVED3:
ud.eog = 1; ud.eog = 1;