aboutsummaryrefslogtreecommitdiff
path: root/cObject.cpp
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-03 21:01:19 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-03 21:01:19 +0100
commit8134a14d6e3e7f07ba2fbbc2d657789ce441fbc6 (patch)
tree48444525a680a8f96f72924a2bf0d20c0a7571a3 /cObject.cpp
parent32adea5719fbfd07390c7a459ee4a60c48f84835 (diff)
downloadtermgl-8134a14d6e3e7f07ba2fbbc2d657789ce441fbc6.tar.gz
compatability fixes
Diffstat (limited to 'cObject.cpp')
-rw-r--r--cObject.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cObject.cpp b/cObject.cpp
index 118fe6f..b293745 100644
--- a/cObject.cpp
+++ b/cObject.cpp
@@ -3,6 +3,7 @@
cObject::cObject(int _sx, int _sy)
{
bSizeSet = false;
+ bBlockRender = true; //Block inherited render capabilities of parent
setSize(_sx, _sy);
}
@@ -46,8 +47,6 @@ void cObject::setSize(int _sx, int _sy)
if(bSizeSet)
return;
- bBlockRender = true; //Block inherited render capabilities of parent
-
sizeX = _sx;
sizeY = _sy;