Fixed ** CBot operator

dev-time-step
krzys-h 2015-12-22 16:06:55 +01:00
parent 33ac246297
commit 214e95c0b9
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ void CBotVarInt::Mul(CBotVar* left, CBotVar* right)
////////////////////////////////////////////////////////////////////////////////
void CBotVarInt::Power(CBotVar* left, CBotVar* right)
{
m_val = static_cast<int>( pow( static_cast<double>( left->GetValInt()) , static_cast<double>( left->GetValInt()) ));
m_val = static_cast<int>( pow( static_cast<double>(left->GetValInt()) , static_cast<double>(right->GetValInt()) ));
m_binit = CBotVar::InitType::DEF;
}