… | |
… | |
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 | |