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

Comparing deliantra/server/server/disease.C (file contents):
Revision 1.32 by root, Tue Aug 7 23:38:13 2007 UTC vs.
Revision 1.33 by root, Tue Aug 7 23:40:27 2007 UTC

511 symptom->stats.food = clamp (scale * disease->last_eat , -1024, 1024); 511 symptom->stats.food = clamp (scale * disease->last_eat , -1024, 1024);
512 symptom->stats.maxsp = clamp (scale * disease->stats.maxsp, -1024, 1024); 512 symptom->stats.maxsp = clamp (scale * disease->stats.maxsp, -1024, 1024);
513 symptom->stats.sp = clamp (scale * disease->stats.sp , -1024, 1024); 513 symptom->stats.sp = clamp (scale * disease->stats.sp , -1024, 1024);
514 symptom->stats.hp = clamp (scale * disease->stats.hp , -1024, 1024); 514 symptom->stats.hp = clamp (scale * disease->stats.hp , -1024, 1024);
515 symptom->stats.exp = 0; 515 symptom->stats.exp = 0;
516 symptom->last_sp = last_sp ? clamp (disease->last_sp / scale, 1, 1024) : 0; 516 symptom->last_sp = disease->last_sp ? clamp (disease->last_sp / scale, 1, 1024) : 0;
517 symptom->msg = disease->msg; 517 symptom->msg = disease->msg;
518 symptom->attacktype = disease->attacktype; 518 symptom->attacktype = disease->attacktype;
519 symptom->other_arch = disease->other_arch; 519 symptom->other_arch = disease->other_arch;
520 } 520 }
521 521

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines