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.42 by root, Wed Nov 16 23:41:59 2016 UTC vs.
Revision 1.44 by root, Thu Nov 22 00:40:12 2018 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team
4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 5 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002 Mark Wedel & Crossfire Development Team 6 * Copyright (©) 2002 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992 Frank Tore Johansen 7 * Copyright (©) 1992 Frank Tore Johansen
7 * 8 *
8 * Deliantra is free software: you can redistribute it and/or modify it under 9 * Deliantra is free software: you can redistribute it and/or modify it under
177 } 178 }
178 179
179 thawer.get (settings.max_level); 180 thawer.get (settings.max_level);
180 181
181 sint64 newlevels [MAXNUMLEVELS]; 182 sint64 newlevels [MAXNUMLEVELS];
183 newlevels [0] = 0;
182 184
183 while (thawer.next_line ()) 185 while (thawer.next_line ())
184 { 186 {
185 sint64 tmpexp; 187 sint64 tmpexp;
186 thawer.get (tmpexp); 188 thawer.get (tmpexp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines