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
2020-04-14 19:32:30 -07:00
committed by Ethan Lee
parent 5b9c6a9680
commit d63ba761d5
5 changed files with 8 additions and 9 deletions

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);