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

Comparing deliantra/server/common/exp.C (file contents):
Revision 1.34 by root, Wed Apr 28 20:51:58 2010 UTC vs.
Revision 1.35 by root, Thu May 6 21:58:06 2010 UTC

155 else 155 else
156 return levels [min (level, settings.max_level)]; 156 return levels [min (level, settings.max_level)];
157} 157}
158 158
159/* This loads the experience table from the exp_table 159/* This loads the experience table from the exp_table
160 * file. This tends to exit on any errors, since it 160 * file.
161 * populates the table as it goes along, so if there
162 * are errors, the table is likely in an inconsistent
163 * state.
164 */ 161 */
165void 162void
166init_experience () 163init_experience ()
167{ 164{
168 int lastlevel = 0; 165 int lastlevel = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines