added default file pathes

This commit is contained in:
Felix Geyer
2004-08-20 13:20:53 +00:00
parent 40b5e7e817
commit f512ff25d8
6 changed files with 10 additions and 10 deletions

View File

@ -372,7 +372,7 @@ void OnAmxxAttach() {
MF_AddNatives( stats_Natives );
MF_AddNatives( base_Natives );
const char* path = get_localinfo("dodstats_score"/*,"addons/amxx/dodstats.amx"*/);
const char* path = get_localinfo("dodstats_score","addons/amxx/data/dodstats.amxx");
if ( path && *path ) {
char error[128];
g_rank.loadCalc( MF_BuildPathname("%s",path) , error );
@ -380,7 +380,7 @@ void OnAmxxAttach() {
if ( !g_rank.begin() ){
g_rank.loadRank( MF_BuildPathname("%s",
get_localinfo("dodstats"/*,"addons/amxx/dodstats.dat"*/) ) );
get_localinfo("dodstats","addons/amxx/data/dodstats.dat") ) );
}
g_map.Init();