Fixed Conceal Ability – it now works as it should.
git-svn-id: http://openexile.googlecode.com/svn/trunk@14 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -352,10 +352,10 @@ void put_item_info(short pc,short item)////
|
|||||||
|
|
||||||
if (s_i.ability > 0) {////
|
if (s_i.ability > 0) {////
|
||||||
if (s_i.item_properties & 32) { // Concealed ability
|
if (s_i.item_properties & 32) { // Concealed ability
|
||||||
|
cd_set_item_text(998,12,"???");
|
||||||
|
} else {
|
||||||
get_str(desc_str,23,s_i.ability + 1);
|
get_str(desc_str,23,s_i.ability + 1);
|
||||||
cd_set_item_text(998,12,(char *) desc_str);
|
cd_set_item_text(998,12,(char *) desc_str);
|
||||||
} else {
|
|
||||||
cd_set_item_text(998,12,"???");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (s_i.charges > 0)
|
if (s_i.charges > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user