1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

* refactoring

This commit is contained in:
mateuszb
2013-02-12 22:24:48 +00:00
parent 7e46d462b6
commit 9c1a117c1c
23 changed files with 165 additions and 149 deletions

View File

@ -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");