diff --git a/source/proc_mapa.cpp b/source/proc_mapa.cpp index c6900b8..03c8feb 100644 --- a/source/proc_mapa.cpp +++ b/source/proc_mapa.cpp @@ -28,7 +28,7 @@ namespace mapa int ini_x, ini_y; int fin_x, fin_y; - int velocitat; + uint32_t velocitat; draw::surface *mapa = nullptr; draw::surface *porta = nullptr; @@ -116,6 +116,7 @@ namespace mapa draw::draw(ini_x*16, ini_y*16); draw::draw(fin_x*16, fin_y*16); + font::selectFont(font::type::normal); font::print(23,188, mapa::accions::parar); font::print(39,188, mapa::accions::cavar); font::print(55,188, mapa::accions::escalar); diff --git a/source/proc_mapa.h b/source/proc_mapa.h index f99847b..8b0dced 100644 --- a/source/proc_mapa.h +++ b/source/proc_mapa.h @@ -1,5 +1,5 @@ #pragma once - +#include namespace mapa { namespace arounders @@ -24,7 +24,7 @@ namespace mapa extern int corda; } - extern int velocitat; + extern uint32_t velocitat; void carregar();