mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Remove now-unused parameter 't' from mapclass::setteleporter()
This was previously used to set the indice of the teleporter, but now that we do push_back() it's no longer necessary and is now unused.
This commit is contained in:
parent
fd7d6076e0
commit
5b9c6a9680
2 changed files with 19 additions and 19 deletions
|
@ -123,7 +123,7 @@ int mapclass::intpol(int a, int b, float c)
|
|||
return static_cast<int>(a + ((b - a) * c));
|
||||
}
|
||||
|
||||
void mapclass::setteleporter(int t, int x, int y)
|
||||
void mapclass::setteleporter(int x, int y)
|
||||
{
|
||||
point temp;
|
||||
temp.x = x;
|
||||
|
@ -412,23 +412,23 @@ void mapclass::initmapdata()
|
|||
{
|
||||
//Set up static map information like teleporters and shiny trinkets.
|
||||
numteleporters = 17;
|
||||
setteleporter(0, 0, 0);
|
||||
setteleporter(1, 0, 16);
|
||||
setteleporter(2, 2, 4);
|
||||
setteleporter(3, 2, 11);
|
||||
setteleporter(4, 7, 9);
|
||||
setteleporter(5, 7, 15);
|
||||
setteleporter(6, 8, 11);
|
||||
setteleporter(7, 10, 5);
|
||||
setteleporter(8, 11, 4);
|
||||
setteleporter(9, 13, 2);
|
||||
setteleporter(10, 13, 8);
|
||||
setteleporter(11, 14, 19);
|
||||
setteleporter(12, 15, 0);
|
||||
setteleporter(13, 17, 12);
|
||||
setteleporter(14, 17, 17);
|
||||
setteleporter(15, 18, 1);
|
||||
setteleporter(16, 18, 7);
|
||||
setteleporter(0, 0);
|
||||
setteleporter(0, 16);
|
||||
setteleporter(2, 4);
|
||||
setteleporter(2, 11);
|
||||
setteleporter(7, 9);
|
||||
setteleporter(7, 15);
|
||||
setteleporter(8, 11);
|
||||
setteleporter(10, 5);
|
||||
setteleporter(11, 4);
|
||||
setteleporter(13, 2);
|
||||
setteleporter(13, 8);
|
||||
setteleporter(14, 19);
|
||||
setteleporter(15, 0);
|
||||
setteleporter(17, 12);
|
||||
setteleporter(17, 17);
|
||||
setteleporter(18, 1);
|
||||
setteleporter(18, 7);
|
||||
|
||||
numshinytrinkets = 18;
|
||||
settrinket(0, 14, 4);
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
|
||||
int intpol(int a, int b, float c);
|
||||
|
||||
void setteleporter(int t, int x, int y);
|
||||
void setteleporter(int x, int y);
|
||||
|
||||
void settrinket(int t, int x, int y);
|
||||
|
||||
|
|
Loading…
Reference in a new issue