Checker: REVERSE_INULL
Function: LLFloaterGodTools::processRegionInfo(LLMessageSystem *)
File: /indra/newview/llfloatergodtools.cpp
meow-7.2.2
Tofu Linden 2010-02-15 17:30:23 +00:00
parent ed116da131
commit 38036b8412
1 changed files with 4 additions and 2 deletions

View File

@ -213,6 +213,9 @@ void LLFloaterGodTools::showPanel(const std::string& panel_name)
// static
void LLFloaterGodTools::processRegionInfo(LLMessageSystem* msg)
{
llassert(msg);
if (!msg) return;
LLHost host = msg->getSender();
if (host != gAgent.getRegionHost())
{
@ -270,8 +273,7 @@ void LLFloaterGodTools::processRegionInfo(LLMessageSystem* msg)
if ( gAgent.isGodlike()
&& LLFloaterReg::instanceVisible("god_tools")
&& god_tools->mPanelRegionTools
&& god_tools->mPanelObjectTools
&& msg )
&& god_tools->mPanelObjectTools)
{
LLPanelRegionTools* rtool = god_tools->mPanelRegionTools;
god_tools->mCurrentHost = host;