fix usewith, mana null

This commit is contained in:
Henrique Santiago
2012-01-20 03:45:56 -02:00
parent b17cc43fc6
commit 7fef0809cb
2 changed files with 4 additions and 1 deletions

View File

@@ -33,6 +33,9 @@ LocalPlayer::LocalPlayer()
m_walkLocked = false;
m_lastPrewalkDone = true;
m_icons = 0;
for(int i = 0; i < Otc::LastStatistic; ++i)
m_statistics[i] = -1; // sets an invalid value to ensure lua event will be sent
}
void LocalPlayer::lockWalk()