Add an assert

--HG--
branch : develop
This commit is contained in:
kaetemi 2014-09-21 13:24:33 +02:00
parent cec992c4a5
commit eff07ebbf9

View file

@ -1784,6 +1784,7 @@ void CScreenshotIslands::buildBackTextureHLS(const std::string & islandName, con
// keep more filled eighth of circle
nlassert(!sortedHLS.empty()); // If it crashes here, you may be missing .zonel's.
itHLS = sortedHLS.begin();
uint h, s, v;
RGB2HSV(*itHLS, h, s, v);