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

Comparing deliantra/server/common/arch.C (file contents):
Revision 1.94 by root, Fri Nov 6 12:49:19 2009 UTC vs.
Revision 1.95 by root, Fri Nov 6 13:03:34 2009 UTC

592 592
593/* 593/*
594 * Returns the first archetype using the given type. 594 * Returns the first archetype using the given type.
595 * Used in treasure-generation. 595 * Used in treasure-generation.
596 */ 596 */
597archetype * 597static archetype *
598type_to_archetype (int type) 598type_to_archetype (int type)
599{ 599{
600 for_all_archetypes (at) 600 for_all_archetypes (at)
601 if (at->type == type && at->head_ () != at) 601 if (at->type == type && at->head_ () != at)
602 return at; 602 return at;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines