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

Comparing deliantra/server/common/arch.C (file contents):
Revision 1.108 by root, Sun May 1 16:58:15 2011 UTC vs.
Revision 1.109 by root, Sat Dec 31 06:18:00 2011 UTC

530} 530}
531 531
532void 532void
533archetype::gc () 533archetype::gc ()
534{ 534{
535 int cnt = max (1, min (allarch.size () / 128, dirtycnt)); 535 int cnt = max (1, min<int> (allarch.size () / 128, dirtycnt));
536 dirtycnt = max (0, dirtycnt - cnt); 536 dirtycnt = max (0, dirtycnt - cnt);
537 537
538 do 538 do
539 { 539 {
540 static int idx; 540 static int idx;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines