remove more unused stuff from utility.h

This commit is contained in:
darkrose 2015-04-10 21:37:33 +10:00
parent 946900a6f4
commit a9764f7a10
1 changed files with 0 additions and 9 deletions

View File

@ -761,15 +761,6 @@ inline v2s16 getContainerPos(v2s16 p, s16 d)
);
}
inline s16 rangelim(s16 i, s16 max)
{
if(i < 0)
return 0;
if(i > max)
return max;
return i;
}
#define rangelim(d, min, max) ((d) < (min) ? (min) : ((d)>(max)?(max):(d)))
inline std::wstring narrow_to_wide(const std::string& mbs)