summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-30 18:51:15 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-07-30 18:51:15 +0300
commitd62ae0e18bc570033ada07454b1642f696fe17b1 (patch)
tree69564fe33c88a90e74ccf0da356e9664ecc32817 /src/game.cpp
parent4556c212dba726271352b05a9299564e05abb218 (diff)
downloadminetest-d62ae0e18bc570033ada07454b1642f696fe17b1.tar.gz
minetest-d62ae0e18bc570033ada07454b1642f696fe17b1.tar.bz2
minetest-d62ae0e18bc570033ada07454b1642f696fe17b1.zip
Rats are now eatable. Also made their selection box move smoothly.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 0afb351d1..74b8e5029 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1656,6 +1656,8 @@ void the_game(
else if(input->getRightClicked())
{
std::cout<<DTIME<<"Right-clicked object"<<std::endl;
+ client.clickActiveObject(1,
+ selected_active_object->getId(), g_selected_item);
}
}
else // selected_object == NULL