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.114 by root, Sat May 3 11:14:50 2008 UTC vs.
Revision 1.115 by root, Sun May 4 19:14:23 2008 UTC

405 if ((type == SPELLBOOK || type == RUNE) && slaying && !inv && !loading_arch) 405 if ((type == SPELLBOOK || type == RUNE) && slaying && !inv && !loading_arch)
406 { 406 {
407 LOG (llevError, "spellbook/rune found without inv but slaying: %s", debug_desc ()); 407 LOG (llevError, "spellbook/rune found without inv but slaying: %s", debug_desc ());
408 object *tmp = get_archetype_by_object_name (slaying); 408 object *tmp = get_archetype_by_object_name (slaying);
409 insert_ob_in_ob (tmp, this); 409 insert_ob_in_ob (tmp, this);
410 randomitems = NULL; /* So another spell isn't created for this object */ 410 randomitems = 0; /* So another spell isn't created for this object */
411 /* without this, value is all screwed up */ 411 /* without this, value is all screwed up */
412 value = arch->value * inv->value; 412 value = arch->value * inv->value;
413 } 413 }
414 414
415 if (QUERY_FLAG (this, FLAG_MONSTER)) 415 if (QUERY_FLAG (this, FLAG_MONSTER))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines