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:
committed by
Darryl Pogue
parent
ff13a26e8a
commit
9724b8e17b
@ -3631,7 +3631,7 @@ PF_CONSOLE_CMD( Listener, XMode, "bool b", "Sets velocity and position to avatar
|
|||||||
|
|
||||||
plSetListenerMsg *set = nil;
|
plSetListenerMsg *set = nil;
|
||||||
plKey pKey = plNetClientMgr::GetInstance()->GetLocalPlayerKey();
|
plKey pKey = plNetClientMgr::GetInstance()->GetLocalPlayerKey();
|
||||||
plListener* pListener;
|
plListener* pListener = nullptr;
|
||||||
|
|
||||||
if( (bool)params[ 0 ] )
|
if( (bool)params[ 0 ] )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user