Remove map.numteleporters

This removes the separate length-tracking variable map.numteleporters,
in favor of using map.teleporters.size().
This commit is contained in:
Misa authored and Ethan Lee committed 2020-04-14 22:54:16 -04:00
1 parent 5b9c6a9680
commit d63ba761d5
5 files changed
+8 -9

No files matched your search

-1
View File
@@ -411,7 +411,6 @@ std::string mapclass::getglitchname(int x, int y)
void mapclass::initmapdata()
{
//Set up static map information like teleporters and shiny trinkets.
numteleporters = 17;
setteleporter(0, 0);
setteleporter(0, 16);
setteleporter(2, 4);