This commit is contained in:
kaetemi 2014-09-09 08:23:37 +02:00
parent d1b6c94ba2
commit ab9aaba83d

View file

@ -16324,7 +16324,7 @@ void CCharacter::sendEmote( const NLMISC::CEntityId& id, MBEHAV::EBehaviour beha
} }
CEntityId targetId = getTarget(); CEntityId targetId = getTarget();
if (targetId.getType() > creature_end) if (targetId.getType() > RYZOMID::creature_end)
targetId = CEntityId::Unknown; targetId = CEntityId::Unknown;
TDataSetRow targetRow = TheDataset.getDataSetRow( targetId ); TDataSetRow targetRow = TheDataset.getDataSetRow( targetId );