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

Comparing deliantra/server/common/treasure.C (file contents):
Revision 1.44 by root, Mon Apr 16 15:36:22 2007 UTC vs.
Revision 1.45 by root, Mon Apr 16 15:41:26 2007 UTC

84treasurelist::find (const char *name) 84treasurelist::find (const char *name)
85{ 85{
86 if (!name) 86 if (!name)
87 return 0; 87 return 0;
88 88
89 AUTODECL (i, tl_map.find (name)); 89 auto (i, tl_map.find (name));
90 90
91 if (i == tl_map.end ()) 91 if (i == tl_map.end ())
92 return 0; 92 return 0;
93 93
94 return i->second; 94 return i->second;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines