Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);