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.48 by root, Fri Jan 19 17:50:10 2007 UTC vs.
Revision 1.49 by root, Fri Jan 19 17:54:15 2007 UTC

417 } 417 }
418 418
419 if (QUERY_FLAG (op, FLAG_MONSTER)) 419 if (QUERY_FLAG (op, FLAG_MONSTER))
420 { 420 {
421 if (op->stats.hp > op->stats.maxhp) 421 if (op->stats.hp > op->stats.maxhp)
422 {
422 LOG (llevDebug, "Monster %s has hp set higher than maxhp (%d>%d)\n", op->debug_desc (), op->stats.hp, op->stats.maxhp); 423 LOG (llevDebug, "Monster %s has hp set higher than maxhp (%d>%d)\n", op->debug_desc (), op->stats.hp, op->stats.maxhp);
424 op->stats.maxhp = op->stats.hp;
425 }
423 426
424 /* The archs just need to be updated for this */ 427 /* The archs just need to be updated for this */
425 if (op->move_type == 0) 428 if (op->move_type == 0)
426 op->move_type = MOVE_WALK; 429 op->move_type = MOVE_WALK;
427 } 430 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines