about summary refs log tree commit diff
path: root/src/game/collision.hpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 10:26:17 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 10:26:17 +0000
commit371e8623161095b8f74d51d37f3de368b5cd584c (patch)
treef3d2987e542d7d01529b871337a3efe7b4b9ab01 /src/game/collision.hpp
parent518db9218fcb3152d02bbc7b9bb3b0e5ff52a41b (diff)
downloadzcatch-371e8623161095b8f74d51d37f3de368b5cd584c.tar.gz
zcatch-371e8623161095b8f74d51d37f3de368b5cd584c.zip
fixed so the laser bounces correctly at low angles
Diffstat (limited to 'src/game/collision.hpp')
-rw-r--r--src/game/collision.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/collision.hpp b/src/game/collision.hpp
index 676a477a..0f072daa 100644
--- a/src/game/collision.hpp
+++ b/src/game/collision.hpp
@@ -16,6 +16,6 @@ int col_is_solid(int x, int y);
 int col_get(int x, int y);
 int col_width();
 int col_height();
-int col_intersect_line(vec2 pos0, vec2 pos1, vec2 *out);
+int col_intersect_line(vec2 pos0, vec2 pos1, vec2 *out_collision, vec2 *out_before_collision);
 
 #endif