1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 12:15:35 +00:00

Update statswindow.cpp

Fixes a build issue on MSVC ('floor' : ambiguous call to overloaded function)
This commit is contained in:
Alexander "Ace" Olofsson 2014-01-16 12:09:50 +01:00
parent ea8f60eddf
commit ddf72c06de

View file

@ -186,7 +186,7 @@ namespace MWGui
if (widget)
{
int modified = value.getModified(), base = value.getBase();
std::string text = boost::lexical_cast<std::string>(std::floor(modified));
std::string text = boost::lexical_cast<std::string>(modified);
std::string state = "normal";
if (modified > base)
state = "increased";