aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
Diffstat (limited to 'saga')
-rw-r--r--saga/game.cpp9
-rw-r--r--saga/game.h1
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;