SLUDGE: Fix accidentally committed code

This commit is contained in:
Eugene Sandulenko 2021-05-03 15:56:35 +02:00
parent 9c2a9f1b4e
commit aa99f15332
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -149,8 +149,6 @@ bool GraphicsManager::setZBuffer(int num) {
n &= 15;
}
byte *target = (byte *)_zBuffer->sprites[i].getBasePtr(x, y);
*target = n;
for (int i = 0; i < _zBuffer->numPanels; ++i) {
byte *target = (byte *)_zBuffer->sprites[i].getBasePtr(x, y);
if (n && (sorted[i] == n || i == 0)) {