summaryrefslogtreecommitdiff
path: root/src/object1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-23 10:46:20 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:09:35 +0100
commit19b1a6f409dcc25b922c2a917155bfd8a66cf599 (patch)
tree11d6de75af3dbb1ebff4cc31d8db4c52d1eeb048 /src/object1.cc
parentaa51b7b4e6f838f647e2b685e63bff827274b8b4 (diff)
Remove dead get_table_name() and its data file
Diffstat (limited to 'src/object1.cc')
-rw-r--r--src/object1.cc33
1 files changed, 0 insertions, 33 deletions
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()"