From 2f5785ca4f55ddfd7365d2888475ba9c28032c96 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 22 Apr 2008 19:24:02 +0000 Subject: Go all the way and also store a randart's name and description in the props table. No more re-rolling every time we need the name, yay! :D Should be save file compatible, and I also modified my previous change to be save file compatible, after all. Not entirely sure this works, though, as I didn't have any old saved games to test this with. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4479 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/randart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/randart.h') diff --git a/crawl-ref/source/randart.h b/crawl-ref/source/randart.h index ce74d94430..e106647f01 100644 --- a/crawl-ref/source/randart.h +++ b/crawl-ref/source/randart.h @@ -37,7 +37,7 @@ void set_unique_item_status( object_class_type base_type, int type, /* *********************************************************************** * called from: itemname * *********************************************************************** */ -std::string randart_name( const item_def &item ); +std::string get_randart_name( const item_def &item ); /* *********************************************************************** * called from: describe -- cgit v1.2.3-54-g00ecf