mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
[Hotfix] Return weather_type_map
This commit is contained in:
parent
4c7a625d7c
commit
05723ad1e8
@ -514,13 +514,15 @@ std::string EQ::constants::GetObjectTypeName(int object_type)
|
||||
return std::string();
|
||||
}
|
||||
|
||||
const std::map<uint8, std::string>& EQ::constants::GetWeatherTypeMap()
|
||||
const std::map<uint8, std::string> &EQ::constants::GetWeatherTypeMap()
|
||||
{
|
||||
static const std::map<uint8, std::string> weather_type_map ={
|
||||
{ WeatherTypes::None, "None" },
|
||||
{ WeatherTypes::Raining, "Raining" },
|
||||
{ WeatherTypes::Snowing, "Snowing" }
|
||||
static const std::map<uint8, std::string> weather_type_map = {
|
||||
{WeatherTypes::None, "None"},
|
||||
{WeatherTypes::Raining, "Raining"},
|
||||
{WeatherTypes::Snowing, "Snowing"}
|
||||
};
|
||||
|
||||
return weather_type_map;
|
||||
}
|
||||
|
||||
std::string EQ::constants::GetWeatherTypeName(uint8 weather_type)
|
||||
@ -530,4 +532,4 @@ std::string EQ::constants::GetWeatherTypeName(uint8 weather_type)
|
||||
}
|
||||
|
||||
return std::string();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user