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

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.172 by root, Thu Apr 15 00:36:51 2010 UTC vs.
Revision 1.173 by root, Thu Apr 15 00:37:24 2010 UTC

770 | (opl->run_on ? SF_RUNON : 0); 770 | (opl->run_on ? SF_RUNON : 0);
771 771
772 AddIfShort (ns->last_flags, flags, CS_STAT_FLAGS); 772 AddIfShort (ns->last_flags, flags, CS_STAT_FLAGS);
773 773
774 for (int i = 0; i < NROFATTACKS; i++) 774 for (int i = 0; i < NROFATTACKS; i++)
775 {
776 /* Skip ones we won't send */ 775 /* Skip ones we won't send */
777 if (atnr_cs_stat[i] == -1) 776 if (atnr_cs_stat[i] >= 0)
778 continue;
779
780 AddIfShort (ns->last_resist[i], ob->resist[i], atnr_cs_stat[i]); 777 AddIfShort (ns->last_resist[i], ob->resist[i], atnr_cs_stat[i]);
781 }
782 778
783 if (pl->ns->monitor_spells) 779 if (pl->ns->monitor_spells)
784 { 780 {
785 AddIfInt (ns->last_path_attuned, ob->path_attuned, CS_STAT_SPELL_ATTUNE); 781 AddIfInt (ns->last_path_attuned, ob->path_attuned, CS_STAT_SPELL_ATTUNE);
786 AddIfInt (ns->last_path_repelled, ob->path_repelled, CS_STAT_SPELL_REPEL); 782 AddIfInt (ns->last_path_repelled, ob->path_repelled, CS_STAT_SPELL_REPEL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines