From d62ae0e18bc570033ada07454b1642f696fe17b1 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 30 Jul 2011 18:51:15 +0300 Subject: Rats are now eatable. Also made their selection box move smoothly. --- src/content_sao.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/content_sao.cpp') diff --git a/src/content_sao.cpp b/src/content_sao.cpp index eadaa6e5f..638f50c9d 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -215,6 +215,18 @@ InventoryItem * ItemSAO::createInventoryItem() } } +void ItemSAO::rightClick(Player *player) +{ + dstream<<__FUNCTION_NAME<use(m_env, player); + + if(to_be_deleted) + m_removed = true; +} /* RatSAO -- cgit v1.2.3