diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/externs.h | 1 | ||||
-rw-r--r-- | src/object1.cc | 33 |
2 files changed, 0 insertions, 34 deletions
diff --git a/src/externs.h b/src/externs.h index c79afdae..5d40a471 100644 --- a/src/externs.h +++ b/src/externs.h @@ -1120,7 +1120,6 @@ extern s16b m_bonus(int max, int level); extern void object_gain_level(object_type *o_ptr); extern void gain_flag_group_flag(object_type *o_ptr, bool_ silent); extern void gain_flag_group(object_type *o_ptr, bool_ silent); -extern void get_table_name(char * out_string); extern s32b flag_cost(object_type * o_ptr, int plusses); /* powers.c */ diff --git a/src/object1.cc b/src/object1.cc index e53f1cf3..fccea302 100644 --- a/src/object1.cc +++ b/src/object1.cc @@ -339,39 +339,6 @@ static bool_ object_flavor(int k_idx) } -void get_table_name(char *out_string) -{ - int testcounter = (randint(3)) + 1; - - strcpy(out_string, "'"); - - if (randint(3) == 2) - { - while (testcounter--) - strcat(out_string, syllables[(randint(MAX_SYLLABLES)) - 1]); - } - - else - { - char Syllable[80]; - testcounter = (randint(2)) + 1; - while (testcounter--) - { - get_rnd_line("elvish.txt", Syllable); - strcat(out_string, Syllable); - } - } - - out_string[1] = toupper(out_string[1]); - - strcat(out_string, "'"); - - out_string[18] = '\0'; - - return; -} - - /* * Certain items, if aware, are known instantly * This function is used only by "flavor_init()" |