mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-12 05:27:04 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue