From 68cfb7c5a492ca1cc691cce831421af98bd6fe45 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 17 Feb 2009 15:42:04 -0600 Subject: [7291] Better map height calculation by use client data format. Need re extract map files by use new ad.exe Author: DiSlord --HG-- branch : trunk --- contrib/extractor/System.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'contrib/extractor/System.cpp') diff --git a/contrib/extractor/System.cpp b/contrib/extractor/System.cpp index 3c319172723..f9f684014c2 100644 --- a/contrib/extractor/System.cpp +++ b/contrib/extractor/System.cpp @@ -70,7 +70,7 @@ bool FileExists( const char* FileName ) void Usage(char* prg) { - printf("Usage:\n%s -[var] [value]\n-i set input path\n-o set output path\n-r set resolution\n-e extract only MAP(1)/DBC(2) - standard: both(3)\nExample: %s -r 256 -i \"c:\\games\\game\"", prg, prg); + printf("Usage:\n%s -[var] [value]\n-i set input path\n-o set output path\n-e extract only MAP(1)/DBC(2) - standard: both(3)\nExample: %s -r 256 -i \"c:\\games\\game\"", prg, prg); exit(1); } @@ -99,12 +99,6 @@ void HandleArgs(int argc, char * arg[]) else Usage(arg[0]); break; - case 'r': - if(c + 1 < argc) // all ok - iRes=atoi(arg[(c++) + 1]); - else - Usage(arg[0]); - break; case 'e': if(c + 1 < argc) // all ok { -- cgit v1.2.3