mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 12:40:04 +00: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)
|
||||
{
|
||||
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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user