Corregido un fallo en el nombre de algunas variables

This commit is contained in:
2022-10-13 13:47:19 +02:00
parent 986d7fd04a
commit 5c68006cb5

View File

@@ -48,7 +48,7 @@ bool Asset::check()
printf("\n** Checking files.\n");
// Comprueba la lista de ficheros clasificandolos por tipo
for (int type = 0; type < maxAssetType; ++type)
for (int type = 0; type < t_maxAssetType; ++type)
{
// Comprueba si hay ficheros de ese tipo
bool any = false;
@@ -117,39 +117,39 @@ std::string Asset::getTypeName(int type)
{
switch (type)
{
case bitmap:
case t_bitmap:
return "BITMAP";
break;
case music:
case t_music:
return "MUSIC";
break;
case sound:
case t_sound:
return "SOUND";
break;
case font:
case t_font:
return "FONT";
break;
case lang:
case t_lang:
return "LANG";
break;
case data:
case t_data:
return "DATA";
break;
case room:
case t_room:
return "ROOM";
break;
case enemy:
case t_enemy:
return "ENEMY";
break;
case item:
case t_item:
return "ITEM";
break;