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