Corrections
This commit is contained in:
parent
73b8af02c3
commit
0eff9ba9f2
2
level.c
2
level.c
@ -843,7 +843,7 @@ add_exp(int e, boolean promotion)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
int
|
||||||
get_exp_level(long e)
|
get_exp_level(long e)
|
||||||
{
|
{
|
||||||
short i;
|
short i;
|
||||||
|
2
rogue.h
2
rogue.h
@ -493,7 +493,7 @@ int get_damage(const char *, boolean);
|
|||||||
void get_desc(const object *, char *, size_t);
|
void get_desc(const object *, char *, size_t);
|
||||||
void get_dir_rc(short, short *, short *, short);
|
void get_dir_rc(short, short *, short *, short);
|
||||||
char get_dungeon_char(short, short);
|
char get_dungeon_char(short, short);
|
||||||
static int get_exp_level(long);
|
int get_exp_level(long);
|
||||||
void get_food(object *, boolean);
|
void get_food(object *, boolean);
|
||||||
int get_hit_chance(const object *);
|
int get_hit_chance(const object *);
|
||||||
int get_input_line(const char *, const char *, char *, size_t, const char *, boolean, boolean);
|
int get_input_line(const char *, const char *, char *, size_t, const char *, boolean, boolean);
|
||||||
|
2
score.c
2
score.c
@ -449,7 +449,7 @@ put_scores(const object *monster, short other)
|
|||||||
|
|
||||||
/* Otherwise, find our slot. */
|
/* Otherwise, find our slot. */
|
||||||
for (i = expscore; i < numscores; i++) {
|
for (i = expscore; i < numscores; i++) {
|
||||||
if (rogue.exp_level >= scores[i].gold) {
|
if (rogue.exp_points >= scores[i].gold) {
|
||||||
rank = i;
|
rank = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user