Style fix

1164-fix
tomangelo2 2020-05-08 00:12:50 +02:00 committed by Mateusz Przybył
parent a2df003b7e
commit dece19fbec
1 changed files with 2 additions and 2 deletions

View File

@ -936,8 +936,8 @@ static CBotTypResult compileRadar(CBotVar* &var, void* user, CBotTypResult retur
if ( var == nullptr ) return returnValue; if ( var == nullptr ) return returnValue;
if ( var->GetType() == CBotTypArrayPointer ) if ( var->GetType() == CBotTypArrayPointer )
{ {
CBotTypResult type = var->GetTypResult().GetTypElem(); CBotTypResult type = var->GetTypResult().GetTypElem();
if ( type.GetType() > CBotTypDouble ) return CBotTypResult(CBotErrBadParam); //type if ( type.GetType() > CBotTypDouble ) return CBotTypResult(CBotErrBadParam); //type
} }
else if ( var->GetType() > CBotTypDouble ) return CBotTypResult(CBotErrBadParam); // type else if ( var->GetType() > CBotTypDouble ) return CBotTypResult(CBotErrBadParam); // type
var = var->GetNext(); var = var->GetNext();