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

Comparing deliantra/server/server/monster.C (file contents):
Revision 1.29 by root, Thu May 3 09:26:45 2007 UTC vs.
Revision 1.30 by root, Mon May 7 03:05:58 2007 UTC

1233 * pick it up. Note that this doesn't handle cases where an item may 1233 * pick it up. Note that this doesn't handle cases where an item may
1234 * use several locations. 1234 * use several locations.
1235 */ 1235 */
1236 for (i = 0; i < NUM_BODY_LOCATIONS; i++) 1236 for (i = 0; i < NUM_BODY_LOCATIONS; i++)
1237 { 1237 {
1238 if (monster->body_info[i] && item->body_info[i]) 1238 if (monster->slot[i].info && item->slot[i].info)
1239 { 1239 {
1240 flag = 1; 1240 flag = 1;
1241 break; 1241 break;
1242 } 1242 }
1243 } 1243 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines