diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-01-11 10:26:17 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-01-11 10:26:17 +0000 |
| commit | 371e8623161095b8f74d51d37f3de368b5cd584c (patch) | |
| tree | f3d2987e542d7d01529b871337a3efe7b4b9ab01 /src/game/gamecore.cpp | |
| parent | 518db9218fcb3152d02bbc7b9bb3b0e5ff52a41b (diff) | |
| download | zcatch-371e8623161095b8f74d51d37f3de368b5cd584c.tar.gz zcatch-371e8623161095b8f74d51d37f3de368b5cd584c.zip | |
fixed so the laser bounces correctly at low angles
Diffstat (limited to 'src/game/gamecore.cpp')
| -rw-r--r-- | src/game/gamecore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/gamecore.cpp b/src/game/gamecore.cpp index 8d167398..7818fa4b 100644 --- a/src/game/gamecore.cpp +++ b/src/game/gamecore.cpp @@ -302,7 +302,7 @@ void CHARACTER_CORE::tick(bool use_input) // make sure that the hook doesn't go though the ground bool going_to_hit_ground = false; bool going_to_retract = false; - int hit = col_intersect_line(hook_pos, new_pos, &new_pos); + int hit = col_intersect_line(hook_pos, new_pos, &new_pos, 0); if(hit) { if(hit&COLFLAG_NOHOOK) |