This commit is contained in:
kaetemi 2014-09-09 08:23:37 +02:00
parent a8f8fa7b63
commit 0445c3138c

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 );