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:
parent
4a26909172
commit
ff11d85a62
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue