From 19b1a6f409dcc25b922c2a917155bfd8a66cf599 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Tue, 23 Dec 2014 10:46:20 +0100 Subject: Remove dead get_table_name() and its data file --- src/object1.cc | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'src/object1.cc') 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()" -- cgit v1.2.3