Browse Source

Fix uninitalized pointer assumed to be null in Listener.XMode console command

Branan Purvine-Riley 11 years ago committed by Darryl Pogue
parent
commit
9724b8e17b
  1. 2
      Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp

2
Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp

@ -3631,7 +3631,7 @@ PF_CONSOLE_CMD( Listener, XMode, "bool b", "Sets velocity and position to avatar
plSetListenerMsg *set = nil;
plKey pKey = plNetClientMgr::GetInstance()->GetLocalPlayerKey();
plListener* pListener;
plListener* pListener = nullptr;
if( (bool)params[ 0 ] )
{

Loading…
Cancel
Save