Remove now-unused function mapclass::fillcontent()

Previously, it was used to parse 30 strings whenever loading a room. But
now it's no longer used since we just assign the tilemap to the vector
directly.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-05-17 22:03:29 -04:00
1 parent ec72031cfd
commit aed7b220c7
2 files changed
-16

No files matched your search

-14
View File
@@ -745,20 +745,6 @@ void mapclass::settile(int xp, int yp, int t)
}
}
void mapclass::fillcontent(std::vector<std::string>& tmap)
{
for (j = 0; j < 29+extrarow; j++)
{
std::vector<std::string> maprow = split(tmap[j], ',');
for(int i = 0; i < 40; i++)
{
contents[i + vmult[j]] = atoi(maprow[i].c_str());
}
}
}
int mapclass::area(int _rx, int _ry)
{