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

Comparing deliantra/server/common/loader.C (file contents):
Revision 1.157 by root, Thu Apr 29 12:24:03 2010 UTC vs.
Revision 1.160 by root, Thu May 6 22:58:03 2010 UTC

522 { 522 {
523 negate = 1; 523 negate = 1;
524 str++; 524 str++;
525 } 525 }
526 526
527 for (const flagstr *f = move_flags; f < move_flags + sizeof (move_flags) / sizeof (move_flags [0]); ++f) 527 for (const flagstr *f = move_flags; f < move_flags + array_length (move_flags); ++f)
528 { 528 {
529 if (!strcmp (f->name, str)) 529 if (!strcmp (f->name, str))
530 { 530 {
531 if (negate) 531 if (negate)
532 mt &= ~f->flags; 532 mt &= ~f->flags;
1506{ 1506{
1507 object_thawer f (filename); 1507 object_thawer f (filename);
1508 1508
1509 for (;;) 1509 for (;;)
1510 { 1510 {
1511 coroapi::cede_to_tick ();
1512
1511 switch (f.kw) 1513 switch (f.kw)
1512 { 1514 {
1513 case KW_region: 1515 case KW_region:
1514 if (!region::read (f)) 1516 if (!region::read (f))
1515 return false; 1517 return false;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines