mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
* refactoring
This commit is contained in:
@ -34,7 +34,7 @@ extern SDL_Surface * screen;
|
||||
|
||||
std::string nameFromType (int typ)
|
||||
{
|
||||
switch(static_cast<ETerrainType::ETerrainType>(typ))
|
||||
switch(ETerrainType(typ))
|
||||
{
|
||||
case ETerrainType::DIRT:
|
||||
return std::string("DIRTTL.DEF");
|
||||
|
Reference in New Issue
Block a user