mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-16 07:49:05 -04:00
Update statswindow.cpp
Fixes a build issue on MSVC ('floor' : ambiguous call to overloaded function)
This commit is contained in:
parent
ea8f60eddf
commit
ddf72c06de
@ -186,7 +186,7 @@ namespace MWGui
|
|||||||
if (widget)
|
if (widget)
|
||||||
{
|
{
|
||||||
int modified = value.getModified(), base = value.getBase();
|
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";
|
std::string state = "normal";
|
||||||
if (modified > base)
|
if (modified > base)
|
||||||
state = "increased";
|
state = "increased";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user