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:
Misa
2020-04-01 15:32:21 -07:00
committed by Ethan Lee
parent d910800423
commit 7abf40881a
5 changed files with 18 additions and 18 deletions

View File

@@ -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();