iwyu
clang-tidy clang-format
This commit is contained in:
@@ -159,12 +159,12 @@ void Director::loadAssets() {
|
||||
#ifdef MACOS_BUNDLE
|
||||
const std::string prefix = "/../Resources";
|
||||
#else
|
||||
const std::string prefix;
|
||||
const std::string PREFIX;
|
||||
#endif
|
||||
|
||||
// Cargar la configuración de assets (también aplicar el prefijo al archivo de configuración)
|
||||
std::string config_path = executable_path_ + prefix + "/data/config/assets.txt";
|
||||
Asset::get()->loadFromFile(config_path, prefix, system_folder_);
|
||||
std::string config_path = executable_path_ + PREFIX + "/data/config/assets.txt";
|
||||
Asset::get()->loadFromFile(config_path, PREFIX, system_folder_);
|
||||
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Assets configuration loaded successfully");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user