From 368a7d109248fe286aad278e744192746381df9c Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 26 Jan 2009 16:25:55 -0700 Subject: Created a new equipment screen, which is loosely related to the equipment screen on TMW's mainline client. Also fixed up the player box so that it can be used in game as well, which could potentially be useful in the future for making future equipment dialog changes. Signed-off-by: Ira Rice --- src/being.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index 80295db8..b4508661 100644 --- a/src/being.h +++ b/src/being.h @@ -370,6 +370,9 @@ class Being : public Sprite static std::string getHairColor(int index); + virtual AnimatedSprite* getSprite(int index) const + { return mSprites[index]; } + protected: /** * Sets the new path for this being. -- cgit v1.2.3-70-g09d2