From 8134a14d6e3e7f07ba2fbbc2d657789ce441fbc6 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 3 Jan 2019 21:01:19 +0100 Subject: compatability fixes --- cObject.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cObject.cpp') 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; -- cgit v1.2.3