1
0

Fixed a ToLua warning - operator = not supported.

This commit is contained in:
madmaxoft
2014-08-03 11:57:05 +02:00
parent a24e960a89
commit 6ce61d1a6f
8 changed files with 16 additions and 8 deletions

View File

@@ -170,7 +170,7 @@ cEntityEffect::cEntityEffect(const cEntityEffect & a_OtherEffect):
cEntityEffect & cEntityEffect::operator=(cEntityEffect a_OtherEffect)
cEntityEffect & cEntityEffect::operator =(cEntityEffect a_OtherEffect)
{
std::swap(m_Ticks, a_OtherEffect.m_Ticks);
std::swap(m_Duration, a_OtherEffect.m_Duration);