// end new prefs dialog
-void PrefsDlg::LoadTexdefPref( texdef_t* pTexdef, char* pName ){
+void PrefsDlg::LoadTexdefPref( texdef_t* pTexdef, const char* pName ){
char buffer[256];
memset( pTexdef, 0, sizeof( texdef_t ) );
radCreateDirectory(gameFilePath);
}
- switch ( m_availGame[ m_nComboSelect ] ) {
+ switch ( m_availGames[ m_nComboSelect ] ) {
case GAME_Q2:
gameFilePath += "q2.game";
break;
void LoadPrefs();
void SavePrefs();
-void LoadTexdefPref( texdef_t* pTexdef, char* pName );
+void LoadTexdefPref( texdef_t* pTexdef, const char* pName );
PrefsDlg ();
virtual ~PrefsDlg (){