summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/modelfile.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-08-31 21:51:28 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-08-31 21:51:28 +0200
commit01fd19d2cd471e69cca8baff6d662e219e42c864 (patch)
tree772519bb98f074eb753851c2a40454ec3117134e /src/graphics/engine/modelfile.cpp
parente94e26ae1eb0dd8a3838e66db3abe4006d377ab2 (diff)
downloadcolobot-01fd19d2cd471e69cca8baff6d662e219e42c864.tar.gz
colobot-01fd19d2cd471e69cca8baff6d662e219e42c864.tar.bz2
colobot-01fd19d2cd471e69cca8baff6d662e219e42c864.zip
Fix
Diffstat (limited to 'src/graphics/engine/modelfile.cpp')
-rw-r--r--src/graphics/engine/modelfile.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/graphics/engine/modelfile.cpp b/src/graphics/engine/modelfile.cpp
index 20a0932..c087250 100644
--- a/src/graphics/engine/modelfile.cpp
+++ b/src/graphics/engine/modelfile.cpp
@@ -114,37 +114,25 @@ Gfx::VertexTex2 ReadTextVertexTex2(const std::string& text)
stream >> what;
if (what != "c")
- {
- GetLogger()->Error("c\n");
return Gfx::VertexTex2();
- }
stream >> result.coord.x >> result.coord.y >> result.coord.z;
stream >> what;
if (what != "n")
- {
- GetLogger()->Error("n\n");
return Gfx::VertexTex2();
- }
stream >> result.normal.x >> result.normal.y >> result.normal.z;
stream >> what;
if (what != "t1")
- {
- GetLogger()->Error("t1\n");
return Gfx::VertexTex2();
- }
stream >> result.texCoord.x >> result.texCoord.y;
stream >> what;
if (what != "t2")
- {
- GetLogger()->Error("t2\n");
return Gfx::VertexTex2();
- }
stream >> result.texCoord2.x >> result.texCoord2.y;