diff options
author | Torbjörn Andersson | 2004-05-05 12:05:00 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-05-05 12:05:00 +0000 |
commit | 4102a3b13f1455ddfd7e8b17e4f8f1bd1e14f0c2 (patch) | |
tree | b7d529e2ffdeac685f6bf6b7305ef19c82d54b29 | |
parent | edf48a8473bbe8ddfff62a869802e9049fb6a721 (diff) | |
download | scummvm-rg350-4102a3b13f1455ddfd7e8b17e4f8f1bd1e14f0c2.tar.gz scummvm-rg350-4102a3b13f1455ddfd7e8b17e4f8f1bd1e14f0c2.tar.bz2 scummvm-rg350-4102a3b13f1455ddfd7e8b17e4f8f1bd1e14f0c2.zip |
Removed data_dir, since it wasn't used.
svn-id: r13790
-rw-r--r-- | saga/game.cpp | 9 | ||||
-rw-r--r-- | saga/game.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/saga/game.cpp b/saga/game.cpp index 104f7b436f..5eb9a41722 100644 --- a/saga/game.cpp +++ b/saga/game.cpp @@ -282,7 +282,6 @@ void GAME_setGameDirectory(const char *gamedir) { debug(0, "Using game data path: %s", gamedir); strcpy(GameModule.game_dir, gamedir); - strcpy(GameModule.data_dir, "."); } int GAME_Register() { @@ -296,14 +295,6 @@ int GAME_Register() { return R_FAILURE; } - // Register "datadir" cfg cvar - strncpy(GameModule.data_dir, "./", R_MAXPATH); - - if (CVAR_Register_S(GameModule.data_dir, - "datadir", NULL, R_CVAR_CFG, R_MAXPATH) != R_SUCCESS) { - return R_FAILURE; - } - // Register "g_language" cfg cvar strncpy(GameModule.game_dir, "us", R_MAXPATH); diff --git a/saga/game.h b/saga/game.h index 37a346cff5..0e694cc4ad 100644 --- a/saga/game.h +++ b/saga/game.h @@ -81,7 +81,6 @@ struct R_GAMEMODULE { R_GAMEDESC *gamedesc; int g_skipintro; char game_dir[R_MAXPATH]; - char data_dir[R_MAXPATH]; char game_language[R_GAME_LANGSTR_LIMIT]; uint16 gfile_n; R_GAME_FILEDATA *gfile_data; |