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.68 by root, Thu Nov 8 19:43:23 2007 UTC vs.
Revision 1.69 by root, Tue Jan 22 15:53:01 2008 UTC

1128 * Allocate and return the pointer to an empty artifactlist structure. 1128 * Allocate and return the pointer to an empty artifactlist structure.
1129 */ 1129 */
1130static artifactlist * 1130static artifactlist *
1131get_empty_artifactlist (void) 1131get_empty_artifactlist (void)
1132{ 1132{
1133 return salloc0 <artifactlist> (); 1133 return salloc0<artifactlist> ();
1134} 1134}
1135 1135
1136/* 1136/*
1137 * Allocate and return the pointer to an empty artifact structure. 1137 * Allocate and return the pointer to an empty artifact structure.
1138 */ 1138 */
1139static artifact * 1139static artifact *
1140get_empty_artifact (void) 1140get_empty_artifact (void)
1141{ 1141{
1142 return salloc0 <artifact> (); 1142 return salloc0<artifact> ();
1143} 1143}
1144 1144
1145/* 1145/*
1146 * Searches the artifact lists and returns one that has the same type 1146 * Searches the artifact lists and returns one that has the same type
1147 * of objects on it. 1147 * of objects on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines