1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 21:40:03 +00:00

Remove debug printing from previous commit

This commit is contained in:
Wareya 2013-02-16 13:37:25 -05:00
parent f0220fb06b
commit c98a815581

View File

@ -1,6 +1,5 @@
#include "waitdialog.hpp"
#include <iostream>
#include <cmath>
#include <boost/lexical_cast.hpp>
@ -161,13 +160,9 @@ namespace MWGui
float hourlyFatigueDelta = fFatigueReturnBase + fFatigueReturnMult * (1 - normalizedEncumbrance);
hourlyFatigueDelta *= 3600 * fEndFatigueMult * stats.getAttribute(ESM::Attribute::Endurance).getModified();
std::cout << "Calced health per hour: " << hourlyHealthDelta << std::endl;
float healthHours = hourlyHealthDelta >= 0.0
? (stats.getHealth().getBase() - stats.getHealth().getCurrent()) / hourlyHealthDelta
: 1.0f;
std::cout << "Calced health hours: " << healthHours << std::endl;
std::cout << "getBase returns " << stats.getHealth().getBase() << ", getModified() returns " << stats.getHealth().getModified() << std::endl;
float magickaHours = stunted ? 0.0 :
hourlyMagickaDelta >= 0.0
? (stats.getMagicka().getBase() - stats.getMagicka().getCurrent()) / hourlyMagickaDelta