TrinityCore/TrinityCore — Issue #3804: [Pet] Focus regen gets stuck
Author: MrSmite
Created: 2011-11-02 21:28:25+00:00
State: open

This is an old issue that I posted a fix for on the old googlecode tracker. Basically m_regenTimer in Pet::Update() eventually gets to a very large number which means "if(m_regenTimer > diff)" always executes therefore the "else" portion never does which is where the regen actually occurrs.

Original issue: http://code.google.com/p/trinitycore/issues/detail?id=1465
Fix: http://code.google.com/p/trinitycore/issues/detail?id=1465#c4

Revision: d3a7ac5d7dad8f3677de8b69d29ffbe36deb51dd
OS: XP SP3

Note: I tested the fix on the revision above and focus regen does not get stuck