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.123 by root, Tue Nov 27 18:50:22 2018 UTC vs.
Revision 1.124 by root, Sat Dec 1 20:22:12 2018 UTC

80treasurelist::find (const char *name) 80treasurelist::find (const char *name)
81{ 81{
82 if (!name) 82 if (!name)
83 return 0; 83 return 0;
84 84
85 auto (i, tl_map.find (name)); 85 auto i = tl_map.find (name);
86 86
87 if (i == tl_map.end ()) 87 if (i == tl_map.end ())
88 return 0; 88 return 0;
89 89
90 return i->second; 90 return i->second;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines