Stop the viewer from crashing when someone puts a callingcard in a notecard.

This crashed me (on imprudence) because someone gave me a notecard
with a calling card in it.
This commit is contained in:
Aleric Inglewood
2011-05-14 02:33:11 +02:00
parent 675ef17d92
commit 74b58b7b3c

View File

@@ -416,6 +416,7 @@ void LLEmbeddedItems::bindEmbeddedChars( const LLFontGL* font ) const
break;
case LLAssetType::AT_SOUND: img_name = "inv_item_sound.tga"; break;
case LLAssetType::AT_CALLINGCARD: img_name = "inv_item_callingcard_online.tga"; break;
case LLAssetType::AT_LANDMARK:
if (item->getFlags() & LLInventoryItemFlags::II_FLAGS_LANDMARK_VISITED)
{