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

Comparing deliantra/server/server/init.C (file contents):
Revision 1.69 by root, Tue Dec 30 07:24:16 2008 UTC vs.
Revision 1.70 by root, Thu Jan 1 16:05:13 2009 UTC

812 /* set creature race to race value */ 812 /* set creature race to race value */
813 if ((mon = archetype::find (cp)) == NULL) 813 if ((mon = archetype::find (cp)) == NULL)
814 LOG (llevError, "Creature %s in race file lacks archetype\n", cp); 814 LOG (llevError, "Creature %s in race file lacks archetype\n", cp);
815 else 815 else
816 { 816 {
817 if (set_race && (!mon->race || strcmp (mon->race, race))) 817 if (set_race && (!mon->race || strcmp (&mon->race, race)))
818 { 818 {
819 if (mon->race) 819 if (mon->race)
820 LOG (llevDebug, "Resetting race to %s from %s for archetype %s\n", race, &mon->race, &mon->archname); 820 LOG (llevDebug, "Resetting race to %s from %s for archetype %s\n", race, &mon->race, &mon->archname);
821 821
822 mon->race = race; 822 mon->race = race;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines