unbreak tiemays breakage 5

This commit is contained in:
darkrose 2014-11-16 05:48:39 +10:00
parent 689de93d6f
commit 2bd1a0cf39
2 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("bilinear_filter", "false");
settings->setDefault("trilinear_filter", "false");
settings->setDefault("sound_volume", "50");
settings->setDefault("font_size","12");
// Server stuff
// "map-dir" doesn't exist by default.

View File

@ -139,6 +139,8 @@ std::string getPath(const char* tp, const std::string &filename, bool must_exist
rel_path += std::string("textures")+DIR_DELIM+"skins"+DIR_DELIM+filename;
}else if (type == "sound") {
rel_path += std::string("sounds")+DIR_DELIM+filename;
}else if (type == "font") {
rel_path += std::string("fonts")+DIR_DELIM+filename;
}else{
rel_path += filename;
}