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.47 by root, Thu May 3 04:50:27 2007 UTC vs.
Revision 1.48 by root, Mon May 7 03:05:58 2007 UTC

1194 buf.printf ("It is made of: %s.\n", &materialname); 1194 buf.printf ("It is made of: %s.\n", &materialname);
1195 1195
1196 if (who) 1196 if (who)
1197 /* Where to wear this item */ 1197 /* Where to wear this item */
1198 for (int i = 0; i < NUM_BODY_LOCATIONS; i++) 1198 for (int i = 0; i < NUM_BODY_LOCATIONS; i++)
1199 if (body_info [i]) 1199 if (slot[i].info)
1200 { 1200 {
1201 buf << "It goes "; 1201 buf << "It goes ";
1202 buf << (who->body_info[i] ? body_locations[i].use_name : body_locations[i].nonuse_name); 1202 buf << (who->slot[i].info ? body_locations[i].use_name : body_locations[i].nonuse_name);
1203 1203
1204 if (body_info[i] < -1 && who->body_info[i]) 1204 if (slot[i].info < -1 && who->slot[i].info)
1205 buf.printf ("(%d)", -body_info[i]); 1205 buf.printf ("(%d)", -slot[i].info);
1206 1206
1207 buf << ".\n"; 1207 buf << ".\n";
1208 } 1208 }
1209 1209
1210 if (weight) 1210 if (weight)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines