Explorar el Código

Fix return type of cursor movement

DricomDragon hace 5 años
padre
commit
8ec3a16a39
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      main.cc

+ 1 - 2
main.cc

@@ -35,11 +35,10 @@ unsigned int identifyTile(unsigned int y, unsigned int x, unsigned int l) {
 	return y * l + x;
 }
 
-unsigned int moveCursorUp(const unsigned int& h) {
+void moveCursorUp(const unsigned int& h) {
 	cout << "\033[" << h << 'A';
 }
 
-
 class World
 {
 	private: