about summary refs log tree commit diff
path: root/src/game/game.h
diff options
context:
space:
mode:
authorJohan Althoff <teetow@gmail.com>2007-07-13 21:22:45 +0000
committerJohan Althoff <teetow@gmail.com>2007-07-13 21:22:45 +0000
commit519e644a6258b06ac1836b5da0a575205dd0dbea (patch)
treebc6bb21fa308adc82e707917e0824ca565c8d9d8 /src/game/game.h
parent64d55a22ee74f06738715858d2f88988b046ead0 (diff)
downloadzcatch-519e644a6258b06ac1836b5da0a575205dd0dbea.tar.gz
zcatch-519e644a6258b06ac1836b5da0a575205dd0dbea.zip
fixed various warnings on windows
Diffstat (limited to 'src/game/game.h')
-rw-r--r--src/game/game.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game.h b/src/game/game.h
index a1471887..9b21a4ed 100644
--- a/src/game/game.h
+++ b/src/game/game.h
@@ -18,7 +18,7 @@ inline float get_angle(baselib::vec2 dir)
 	return a;
 }
 
-inline bool col_check_point(float x, float y) { return col_check_point((int)x, (int)y); }
+inline bool col_check_point(float x, float y) { return col_check_point((int)x, (int)y) != 0; }
 inline bool col_check_point(baselib::vec2 p) { return col_check_point(p.x, p.y); }
 
 // Network stuff