From 5c68006cb5c3b981aa77877787644ea43b986f7c Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Thu, 13 Oct 2022 13:47:19 +0200 Subject: [PATCH] Corregido un fallo en el nombre de algunas variables --- source/utils/asset.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source/utils/asset.cpp b/source/utils/asset.cpp index 4c2b6bc..daa448a 100644 --- a/source/utils/asset.cpp +++ b/source/utils/asset.cpp @@ -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;