mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Remove now-useless function editorclass::countstuff()
Previously, it existed solely to count the number of trinkets and crewmates when loading a level, because we were keeping track of the amount of them manually, incrementing and decrementing every time a trinket or crewmate was added or removed, but loading a new level represented a case that could potentially not be an increment or decrement. However, since the amount tracking is now handled automatically, this function now does nothing, and can be safely removed.
This commit is contained in:
parent
89b6b67a77
commit
fb9791a4c7
2 changed files with 0 additions and 6 deletions
|
@ -1618,10 +1618,6 @@ int editorclass::findwarptoken(int t)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void editorclass::countstuff()
|
||||
{
|
||||
}
|
||||
|
||||
void editorclass::load(std::string& _path)
|
||||
{
|
||||
reset();
|
||||
|
@ -1846,7 +1842,6 @@ void editorclass::load(std::string& _path)
|
|||
}
|
||||
|
||||
gethooks();
|
||||
countstuff();
|
||||
version=2;
|
||||
}
|
||||
|
||||
|
|
|
@ -138,7 +138,6 @@ class editorclass{
|
|||
int findtrinket(int t);
|
||||
int findcrewmate(int t);
|
||||
int findwarptoken(int t);
|
||||
void countstuff();
|
||||
void findstartpoint();
|
||||
int getlevelcol(int t);
|
||||
int getenemycol(int t);
|
||||
|
|
Loading…
Reference in a new issue