mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Remove unused argument of entityclass::getcompanion()
The argument provided to entityclass::getcompanion() does absolutely nothing. Remove it, and update all callers.
This commit is contained in:
@@ -2082,7 +2082,7 @@ void gameinput()
|
||||
|
||||
int player = obj.getplayer();
|
||||
obj.entities[player].colour = 102;
|
||||
int companion = obj.getcompanion(game.companion);
|
||||
int companion = obj.getcompanion();
|
||||
if(companion>-1) obj.entities[companion].colour = 102;
|
||||
|
||||
int teleporter = obj.getteleporter();
|
||||
|
||||
Reference in New Issue
Block a user