From bd647ce0f411c1a78407762e0a01511694e76e6f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 24 Mar 2008 16:38:18 +0000 Subject: potential unintialized value --- src/core/model.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/core/model.cc b/src/core/model.cc index a0aa489..1ddefca 100644 --- a/src/core/model.cc +++ b/src/core/model.cc @@ -243,10 +243,10 @@ Model::Model(std::string const & name) : std::string class_name; math::Vector3f class_origin; - float class_angle; + float class_angle = 0; math::Color class_color; - unsigned int class_spawnflags; - bool brush_detail; + unsigned int class_spawnflags = 0; + bool brush_detail = false; while (ifs) { ifs.getline(data, 1023); -- cgit v1.2.3