unbreak tiemays breakage 5
This commit is contained in:
parent
689de93d6f
commit
2bd1a0cf39
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue