1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 21:45:33 +00:00

Fix wrong assertion

This commit is contained in:
scrawl 2014-02-06 03:15:01 +01:00
parent 4a26909172
commit ff11d85a62

View file

@ -291,7 +291,7 @@ namespace MWRender
unsigned int imageY = (yLength - (y + 1)) * cellImageSizeSrc;
assert(imageX < image.getWidth());
assert(imageY < image.getWidth());
assert(imageY < image.getHeight());
if (image.getColourAt(imageX, imageY, 0).a > 0)
exploredCells.push_back(std::make_pair(x+bounds.mMinX,y+bounds.mMinY));