diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-03-16 20:30:33 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-03-16 20:30:33 +0100 |
commit | 4ed209d756c3cf719d8255c698d7988e85aa746a (patch) | |
tree | 0e596acc2904bcb76820ccc173283c3d716ba2b6 /src/cObject.cpp | |
parent | ed1837b54a35191a238703e73fd711a0995ff242 (diff) | |
download | termgl-4ed209d756c3cf719d8255c698d7988e85aa746a.tar.gz |
Removed collision detection in Framebuffer #4
Diffstat (limited to 'src/cObject.cpp')
-rw-r--r-- | src/cObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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]); } } } |