diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-21 14:40:16 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:50 +0200 |
commit | cebc8c78a4f5c4a2d7bb246e44f7bd2599de9c9b (patch) | |
tree | 336c8a51ae35844309bf027975d9995943755b7b | |
parent | 290e9219208fd904807bded7ccdb7109a4f92bc6 (diff) | |
download | minetest-cebc8c78a4f5c4a2d7bb246e44f7bd2599de9c9b.tar.gz minetest-cebc8c78a4f5c4a2d7bb246e44f7bd2599de9c9b.tar.bz2 minetest-cebc8c78a4f5c4a2d7bb246e44f7bd2599de9c9b.zip |
Make object hit delay smaller for fun; actually it should be roughly zero and hit damage should be calculated from the amount of time since last punch, limited to a maximum value
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index cb2273c5a..a7e1ccd82 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -942,7 +942,7 @@ void the_game( float damage_flash_timer = 0; s16 farmesh_range = 20*MAP_BLOCKSIZE; - const float object_hit_delay = 0.5; + const float object_hit_delay = 0.2; float object_hit_delay_timer = 0.0; bool invert_mouse = g_settings->getBool("invert_mouse"); |