adding the checktime FindArg

This commit is contained in:
zicodxx 2006-10-31 21:15:47 +00:00
parent 999780ff58
commit 1c821a4cea

View file

@ -167,6 +167,9 @@ extern int mouselook;
#ifndef RELEASE
extern int invulnerability;
#endif
#ifndef NDEBUG
extern int checktime;
#endif
#define LINE_LEN 100
@ -562,6 +565,11 @@ int main(int argc, char *argv[])
invulnerability = 1;
#endif
#ifndef NDEBUG
if ( FindArg( "-checktime") )
checktime = 1;
#endif
if ((t=FindArg("-tmap"))){
select_tmap(Args[t+1]);
}else