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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.81 by pippijn, Wed Jan 3 00:21:36 2007 UTC vs.
Revision 1.82 by elmex, Wed Jan 3 02:30:52 2007 UTC

3469 if (trlist == NULL || who->type != PLAYER) 3469 if (trlist == NULL || who->type != PLAYER)
3470 return; 3470 return;
3471 3471
3472 for (i = 0, tr = trlist->items; tr != NULL && i < level - 1; tr = tr->next, i++); 3472 for (i = 0, tr = trlist->items; tr != NULL && i < level - 1; tr = tr->next, i++);
3473 3473
3474 if (tr == NULL || tr->item == NULL) 3474 if (!tr || !tr->item)
3475 { 3475 {
3476 /* LOG(llevDebug, "-> no more treasure for %s\n", change_resist_msg[atnr]); */ 3476 /* LOG(llevDebug, "-> no more treasure for %s\n", change_resist_msg[atnr]); */
3477 return; 3477 return;
3478 } 3478 }
3479 3479

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines