* fixed silly typo
This commit is contained in:
parent
4c96c5039d
commit
c87f175ad6
@ -1006,7 +1006,7 @@ DefReturnResult DefScriptPackage::SCSendWho(CmdSet &Set)
|
|||||||
WorldSession *ws = ((PseuInstance*)parentMethod)->GetWSession();
|
WorldSession *ws = ((PseuInstance*)parentMethod)->GetWSession();
|
||||||
if(!ws)
|
if(!ws)
|
||||||
{
|
{
|
||||||
logerror("Invalid Script call: SCSendWhoListRequest: WorldSession not valid");
|
logerror("Invalid Script call: SCSendWho: WorldSession not valid");
|
||||||
DEF_RETURN_ERROR;
|
DEF_RETURN_ERROR;
|
||||||
}
|
}
|
||||||
uint32 minlvl = (uint32)DefScriptTools::toUint64(Set.arg[0]);
|
uint32 minlvl = (uint32)DefScriptTools::toUint64(Set.arg[0]);
|
||||||
@ -1041,7 +1041,7 @@ DefReturnResult DefScriptPackage::SCGetObjectDistance(CmdSet &Set)
|
|||||||
WorldSession *ws = ((PseuInstance*)parentMethod)->GetWSession();
|
WorldSession *ws = ((PseuInstance*)parentMethod)->GetWSession();
|
||||||
if(!ws)
|
if(!ws)
|
||||||
{
|
{
|
||||||
logerror("Invalid Script call: SCSendWhoListRequest: WorldSession not valid");
|
logerror("Invalid Script call: SCGetObjectDistance: WorldSession not valid");
|
||||||
DEF_RETURN_ERROR;
|
DEF_RETURN_ERROR;
|
||||||
}
|
}
|
||||||
uint64 guid1 = DefScriptTools::toUint64(Set.defaultarg);
|
uint64 guid1 = DefScriptTools::toUint64(Set.defaultarg);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user