Remove map.customtrinkets

This variable's sole purpose is to copy ed.numtrinkets, even though ed
has always been a name that's been accessible globally. So let's not
dupe cope.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-04-09 19:20:31 -04:00
1 parent c077e51fb4
commit 85bd7d9a2d
5 files changed
+21 -11

No files matched your search

-2
View File
@@ -42,7 +42,6 @@ mapclass::mapclass()
custommode=false;
custommodeforreal=false;
customtrinkets=0;
customx=0; customy=0;
customwidth=20; customheight=20;
custommmxoff=0; custommmyoff=0; custommmxsize=0; custommmysize=0;
@@ -1732,7 +1731,6 @@ void mapclass::loadlevel(int rx, int ry)
}
}
customtrinkets=ed.numtrinkets;
customcrewmates=ed.numcrewmates;
//do the appear/remove roomname here