adding the checktime FindArg
This commit is contained in:
parent
999780ff58
commit
1c821a4cea
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue