mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 17:36:41 +00:00
Remove debug printing from previous commit
This commit is contained in:
parent
f0220fb06b
commit
c98a815581
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
: 1.0f;
|
||||
float magickaHours = stunted ? 0.0 :
|
||||
hourlyMagickaDelta >= 0.0
|
||||
? (stats.getMagicka().getBase() - stats.getMagicka().getCurrent()) / hourlyMagickaDelta
|
||||
|
|
Loading…
Reference in a new issue