comparison Items.cpp @ 1567:9f8b3e904e14

Player::ReceiveDamage, very small edits; prepended "Is" to item functions returning bool values (broken, indetified, stolen)
author Grumpy7
date Sun, 08 Sep 2013 05:22:33 +0200
parents c4ab816fcc5e
children 75fafd8ced59 bb2378f58767
comparison
equal deleted inserted replaced
1566:1e5086f7d401 1567:9f8b3e904e14
1457 } 1457 }
1458 1458
1459 //----- (00456499) -------------------------------------------------------- 1459 //----- (00456499) --------------------------------------------------------
1460 const char *ItemGen::GetDisplayName() 1460 const char *ItemGen::GetDisplayName()
1461 { 1461 {
1462 if (Identified()) 1462 if (IsIdentified())
1463 return GetIdentifiedName(); 1463 return GetIdentifiedName();
1464 else 1464 else
1465 return pItemsTable->pItems[uItemID].pUnidentifiedName; 1465 return pItemsTable->pItems[uItemID].pUnidentifiedName;
1466 } 1466 }
1467 1467