This commit is contained in:
Shylie
2024-03-09 13:17:10 -05:00
2 changed files with 3 additions and 3 deletions

View File

@@ -319,7 +319,7 @@ extern "C"
return TERML_G->get_height();
}
int terml_get(unsigned int x, unsigned int y, const tcell** cell)
int terml_get(unsigned int x, unsigned int y, tcell* cell)
{
if (x >= TERML_G->get_width() || y >= TERML_G->get_height())
{
@@ -333,7 +333,7 @@ extern "C"
}
else
{
*cell = &TERML_G->get(x, y);
*cell = TERML_G->get(x, y);
return 0;
}
}