[DiscordArchive] Hey all, I'm trying to figure out how to make a small change (well, I think it's small) to TC core G
[DiscordArchive] Hey all, I'm trying to figure out how to make a small change (well, I think it's small) to TC core G
Archived author: Bset • Posted: 2023-04-27T02:08:25.776000+00:00
Original source
Hey all, I'm trying to figure out how to make a small change (well, I think it's small) to TC core Group.cpp that does something along the lines of this.
``bool Group::AddInvite(Player* player)
{
// Do a race check here so you can only invite same race players to group.
if (!(player->GetRace() == GetLeader()->GetRace()))
return false;``
can anyone help me out or point me in the right direction?