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

@@ -4309,7 +4309,7 @@ bool entityclass::gettype( int t )
return false;
}
int entityclass::getcompanion( int t )
int entityclass::getcompanion()
{
//Returns the index of the companion with rule t
for (int i = 0; i < nentity; i++)