Fixed: replace nlassert by return to prevent crash of EGS

feature/prepare-cross-merge
Ulukyn 5 years ago committed by kaetemi
parent b35ba142be
commit ed4e88c773
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -1220,7 +1220,9 @@ CGameItemPtr CGameItem::getItemCopy()
//-----------------------------------------------
uint32 CGameItem::sendNameId(CCharacter * user)
{
nlassert( _Form != 0 );
if (!_Form)
return 0;
if( _Form->Family != ITEMFAMILY::SCROLL_R2 )
{
if ( ! _PhraseId.empty() )

Loading…
Cancel
Save