| 450 | } |
| 451 | |
| 452 | void Sky::Reload() { |
| 453 | char abs_path[kPathSize]; |
| 454 | FindImagePath(dome_texture_name.c_str(), abs_path, kPathSize, kDataPaths | kModPaths); |
| 455 | int64_t check_modified = GetDateModifiedInt64(abs_path); |
| 456 | if (check_modified != -1 && check_modified > modified) { |
| 457 | live_updated = true; |
| 458 | QueueLoadResources(); |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | void Sky::LightingChanged(bool terrain_exists) { |
| 463 | if (modified != -1) { |
no test coverage detected