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.35 by root, Thu May 6 21:58:06 2010 UTC vs.
Revision 1.36 by root, Thu May 6 22:35:41 2010 UTC

158 158
159/* This loads the experience table from the exp_table 159/* This loads the experience table from the exp_table
160 * file. 160 * file.
161 */ 161 */
162void 162void
163init_experience () 163reload_exp_table ()
164{ 164{
165 int lastlevel = 0; 165 int lastlevel = 0;
166 sint64 lastexp = -1; 166 sint64 lastexp = -1;
167 167
168 object_thawer thawer (settings.datadir, "exp_table"); 168 object_thawer thawer (settings.datadir, "exp_table");
169 169
170 if (!thawer) 170 if (!thawer)
171 { 171 {
172 LOG (llevError, "unable to parse experience table file"); 172 LOG (llevError, "unable to load experience table file");
173 return; 173 return;
174 } 174 }
175 175
176 if (thawer.kw != KW_max_level) 176 if (thawer.kw != KW_max_level)
177 { 177 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines