From e24ed80d93edce726f4cbb11b86c0c6748c261a7 Mon Sep 17 00:00:00 2001 From: "Alejandro V. Garcia" Date: Tue, 3 Aug 2010 03:10:18 +0000 Subject: [PATCH] gcc 4.5 warning fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5532 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/geom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/geom.h b/source/src/geom.h index addcdbd0..5496cce4 100644 --- a/source/src/geom.h +++ b/source/src/geom.h @@ -54,7 +54,7 @@ struct vec int i[3]; }; - vec() {} + vec() {x=y=z=0;} vec(float a, float b, float c) : x(a), y(b), z(c) {} vec(float *v) : x(v[0]), y(v[1]), z(v[2]) {}