EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   COMMITTED: #bot pet remove fix (https://www.eqemulator.org/forums/showthread.php?t=33898)

Criimson 07-21-2011 07:12 PM

COMMITTED: #bot pet remove fix
 
I noticed that the command always returned must target enchanter, druid, necro

Since there are so many new submissions I am posting it as direct change instead of a patch

3rd line down from //Remove bots pet needs to be

Code:

if (c->IsGrouped() && c->GetTarget()->IsBot() && (c->GetTarget()->CastToBot()->GetBotOwner() == c)
Criimson

EDIT:
Realized I'd like to make it easy on you. Search for
Code:

// Remove Bot's Pet
        if(!strcasecmp(sep->arg[1], "pet") && !strcasecmp(sep->arg[2], "remove")) {
                if(c->GetTarget() != NULL) {


Congdar 07-23-2011 03:51 PM

committed in svn 1981


All times are GMT -4. The time now is 07:16 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.