- delete some inactive code.

This commit is contained in:
Christoph Oelckers 2021-11-11 20:55:30 +01:00
parent adf3133fdc
commit 7a9e39a96b
2 changed files with 0 additions and 33 deletions

View file

@ -2898,14 +2898,6 @@ int ConCompiler::parsecommand()
case concmd_startlevel:
// start at specified level
// startlevel <episode> <level>
#if 0
if (!g_bEnhanced)
{
errorcount++;
printf(" * ERROR!(L%ld) Command '%s' is enhanced only. Define enhance with the version number your code needs before using this commands.\n", line_number, tempbuf);
return 0;
}
#endif
// get the ID of the DEF
getlabel();
checkforkeyword();
@ -2935,14 +2927,6 @@ int ConCompiler::parsecommand()
case concmd_mapvoxel:
// map a tilenum to a voxel.
// syntax: mapvoxel <tilenum> <filename (8.3)>
#if 0
if (!g_bEnhanced)
{
errorcount++;
printf(" * ERROR!(L%ld) Command '%s' is enhanced only. Define enhance with the version number your code needs before using this commands.\n", line_number, tempbuf);
return 0;
}
#endif
popscriptvalue(); // don't save in compiled code
transnum(LABEL_DEFINE);
@ -2965,14 +2949,6 @@ int ConCompiler::parsecommand()
case concmd_myospal:
case concmd_myosx:
case concmd_myospalx:
#if 0
if (!g_bEnhanced)
{
errorcount++;
printf(" * ERROR!(L%ld) Command '%s' is enhanced only. Define enhance with the version number your code needs before using this commands.\n", line_number, tempbuf);
return 0;
}
#endif
// syntax:
// int x, int y, int tilenum, int shade, int orientation
// myospal adds char pal

View file

@ -586,15 +586,6 @@ void playerisdead(int snum, int psectlotag, int fz, int cz)
}
else p->fraggedself++;
#if 0
if (myconnectindex == connecthead)
{
sprintf(tempbuf, "frag %d killed %d\n", p->frag_ps + 1, snum + 1);
sendscore(tempbuf);
// printf(tempbuf);
}
#endif
p->frag_ps = snum;
}
}