2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

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

This commit is contained in:
Branan Purvine-Riley
2014-03-16 14:39:19 -07:00
committed by Darryl Pogue
parent ff13a26e8a
commit 9724b8e17b

View File

@ -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 ] )
{