mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 09:49:05 +00:00
Add an assert
This commit is contained in:
parent
6fe3fc3e35
commit
93cb679e35
1 changed files with 1 additions and 0 deletions
|
@ -1784,6 +1784,7 @@ void CScreenshotIslands::buildBackTextureHLS(const std::string & islandName, con
|
||||||
|
|
||||||
|
|
||||||
// keep more filled eighth of circle
|
// keep more filled eighth of circle
|
||||||
|
nlassert(!sortedHLS.empty()); // If it crashes here, you may be missing .zonel's.
|
||||||
itHLS = sortedHLS.begin();
|
itHLS = sortedHLS.begin();
|
||||||
uint h, s, v;
|
uint h, s, v;
|
||||||
RGB2HSV(*itHLS, h, s, v);
|
RGB2HSV(*itHLS, h, s, v);
|
||||||
|
|
Loading…
Reference in a new issue