Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-24 16:38:18 +0000
committerStijn Buys <ingar@osirion.org>2008-03-24 16:38:18 +0000
commitbd647ce0f411c1a78407762e0a01511694e76e6f (patch)
treeb3bc3bc97767553cbcb448479540d6201bd37ca1 /src/core
parent600ab7911460ba173f82c78145fe573808d16f89 (diff)
potential unintialized value
Diffstat (limited to 'src/core')
-rw-r--r--src/core/model.cc6
1 files changed, 3 insertions, 3 deletions
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);