From 4ed209d756c3cf719d8255c698d7988e85aa746a Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 16 Mar 2019 20:30:33 +0100 Subject: Removed collision detection in Framebuffer #4 --- src/cObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cObject.cpp') diff --git a/src/cObject.cpp b/src/cObject.cpp index 19f485f..a54d4e1 100644 --- a/src/cObject.cpp +++ b/src/cObject.cpp @@ -37,7 +37,7 @@ void cObject::write(cRender *_render, sPos _cameraPosition) if (cScreen[p][o]) { //Dont overwrite empty pixels sPos npos{ pos.x + (int)p - _cameraPosition.x, pos.y + (int)o - _cameraPosition.y }; - _render->drawPoint(cScreen[p][o], npos, true, wColor[p][o]); + _render->drawPoint(cScreen[p][o], npos, wColor[p][o]); } } } -- cgit v1.2.3