Skip to content

Commit

Permalink
Fix missed code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
chendo committed Jan 2, 2021
1 parent 891d399 commit feb4943
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/scripting/Scripting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,11 @@ sol::object Scripting::Execute(const std::string& aFuncName, sol::variadic_args
RED4ext::CName name;
uint8_t argOffset = 0;

if (pFunc->params.size > 0) {
if (pFunc->params.size > 0)
{
auto* pType = pFunc->params[0]->type;
if (pType == pGIType) {
if (pType == pGIType)
{
argOffset = 1;
}
}
Expand Down

0 comments on commit feb4943

Please sign in to comment.