ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_object.C
(Generate patch)

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.110 by root, Fri Mar 26 00:59:22 2010 UTC vs.
Revision 1.111 by root, Sun Mar 28 15:57:14 2010 UTC

1150 buf.printf ("Its weight limit is %.1f kg.\r", weight_limit / (10.0 * (100 - stats.Str))); 1150 buf.printf ("Its weight limit is %.1f kg.\r", weight_limit / (10.0 * (100 - stats.Str)));
1151 break; 1151 break;
1152 1152
1153 case WAND: 1153 case WAND:
1154 if (flag [FLAG_IDENTIFIED]) 1154 if (flag [FLAG_IDENTIFIED])
1155 buf.printf ("It has %d charges left.\r", stats.food); 1155 buf.printf ("It has %d %s left.\r", stats.food, stats.food == 1 ? "charge" : "charges");
1156 break; 1156 break;
1157 } 1157 }
1158 1158
1159 if (material != MATERIAL_NULL && !msg) 1159 if (material != MATERIAL_NULL && !msg)
1160 buf << (nrof > 1 ? "They are made of " : "It is made of ") 1160 buf << (nrof > 1 ? "They are made of " : "It is made of ")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines