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

Comparing deliantra/server/server/hiscore.C (file contents):
Revision 1.16 by pippijn, Sat Jan 6 14:42:30 2007 UTC vs.
Revision 1.17 by root, Sun Jan 7 02:39:14 2007 UTC

266 score *old_score; 266 score *old_score;
267 267
268 if (op->stats.exp == 0) 268 if (op->stats.exp == 0)
269 return; 269 return;
270 270
271 if (op->contr->explore)
272 {
273 new_draw_info (NDI_UNIQUE, 0, op, "Since you were in explore mode,");
274 new_draw_info (NDI_UNIQUE, 0, op, "you can't enter the high-score list.");
275 return;
276 }
277
278 assign (new_score.name, op->name); 271 assign (new_score.name, op->name);
279 assign (new_score.title, op->title.length () ? &op->title : op->contr->title); 272 assign (new_score.title, op->title.length () ? &op->title : op->contr->title);
280 assign (new_score.killer, op->contr->killer[0] ? op->contr->killer : "a dungeon collapse"); 273 assign (new_score.killer, op->contr->killer[0] ? op->contr->killer : "a dungeon collapse");
281 assign (new_score.maplevel, op->map ? op->map->name ? &op->map->name : &op->map->path : ""); 274 assign (new_score.maplevel, op->map ? op->map->name ? &op->map->name : &op->map->path : "");
282 275

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines