mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
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:
@@ -1887,11 +1887,13 @@ void scriptclass::run()
|
||||
graphics.textboxcenterx();
|
||||
|
||||
std::string usethisnum;
|
||||
#if !defined(NO_CUSTOM_LEVELS)
|
||||
if (map.custommode)
|
||||
{
|
||||
usethisnum = help.number(map.customtrinkets);
|
||||
usethisnum = help.number(ed.numtrinkets);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
usethisnum = "Twenty";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user