diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..1b8727810 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +/linuxdoom-1.10/atari/*.o \ No newline at end of file diff --git a/linuxdoom-1.10/d_main.c b/linuxdoom-1.10/d_main.c index a1cd676cd..a98783808 100644 --- a/linuxdoom-1.10/d_main.c +++ b/linuxdoom-1.10/d_main.c @@ -670,6 +670,13 @@ void IdentifyVersion (void) return; } + if ( !access (doom1wad,R_OK) ) + { + gamemode = shareware; + D_AddFile (doom1wad); + return; + } + if ( !access (doom2fwad,R_OK) ) { gamemode = commercial; @@ -716,13 +723,6 @@ void IdentifyVersion (void) return; } - if ( !access (doom1wad,R_OK) ) - { - gamemode = shareware; - D_AddFile (doom1wad); - return; - } - printf("Game mode indeterminate.\n"); gamemode = indetermined;