aboutsummaryrefslogtreecommitdiff
path: root/src/cObject.cpp
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-16 20:30:33 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-16 20:30:33 +0100
commit4ed209d756c3cf719d8255c698d7988e85aa746a (patch)
tree0e596acc2904bcb76820ccc173283c3d716ba2b6 /src/cObject.cpp
parented1837b54a35191a238703e73fd711a0995ff242 (diff)
downloadtermgl-4ed209d756c3cf719d8255c698d7988e85aa746a.tar.gz
Removed collision detection in Framebuffer #4
Diffstat (limited to 'src/cObject.cpp')
-rw-r--r--src/cObject.cpp2
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]);
}
}
}