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.137 by root, Thu Nov 5 15:43:21 2009 UTC vs.
Revision 1.138 by root, Sat Nov 7 18:30:05 2009 UTC

1070 archetype *arch = archetype::find (f.get_str ()); 1070 archetype *arch = archetype::find (f.get_str ());
1071 1071
1072 if (!arch) 1072 if (!arch)
1073 { 1073 {
1074 LOG (llevError, "object refering to nonexistant archetype '%s'.\n", f.get_str ()); 1074 LOG (llevError, "object refering to nonexistant archetype '%s'.\n", f.get_str ());
1075 arch = archetype::find ("earthwall"); 1075 arch = archetype::find (shstr_earthwall);
1076 } 1076 }
1077 1077
1078 assert (arch); //D maybe use exception handling of sorts? 1078 assert (arch); //D maybe use exception handling of sorts?
1079 1079
1080 f.next (); 1080 f.next ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines