summaryrefslogtreecommitdiff
path: root/src/render/Glass.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-02 15:28:19 +0300
committerSergeanur <s.anureev@yandex.ua>2020-05-02 15:28:19 +0300
commit52390062b39a3398379934e59a15faa01613e586 (patch)
treeba7c8c16921d09a9ec1e2d33323ab142048a3290 /src/render/Glass.cpp
parentd23b2c423e5811cf6e9de28cbf8490de32ea4fb5 (diff)
SetPosition, part 2
Diffstat (limited to 'src/render/Glass.cpp')
-rw-r--r--src/render/Glass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Glass.cpp b/src/render/Glass.cpp
index 9a4dbcfe..6f17013c 100644
--- a/src/render/Glass.cpp
+++ b/src/render/Glass.cpp
@@ -647,7 +647,7 @@ CGlass::WindowRespondsToCollision(CEntity *entity, float amount, CVector speed,
}
object->bGlassBroken = true;
- object->GetPosition().z = -100.0f;
+ object->GetMatrix().GetPosition().z = -100.0f;
}
void