]> git.localhorst.tv Git - blobs.git/blobdiff - src/creature/creature.cpp
fix that pesky suffocation problem
[blobs.git] / src / creature / creature.cpp
index 667dc1740bdfa4fa37227b5ba74396a61dc9de2b..39b96b22cafda71e9cfdae849e5cb50234319ffa 100644 (file)
@@ -437,7 +437,6 @@ void Creature::TickStats(double dt) {
        for (auto &s : stats.stat) {
                s.Add(s.gain * dt);
        }
-       stats.Breath().Add(stats.Breath().gain * stats.Exhaustion().value * dt);
        // TODO: damage values depending on properties
        if (stats.Breath().Full()) {
                constexpr double dps = 1.0 / 4.0;