mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
HPL1: Fix Bug in Game Script Functions Causing GCC Shadowing Warning
This commit is contained in:
@@ -754,7 +754,7 @@ static void ReplaceEntity(std::string asName, std::string asBodyName,
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
iPhysicsBody *pBody = pEntity->GetBody(0);
|
||||
pBody = pEntity->GetBody(0);
|
||||
}
|
||||
|
||||
cMatrixf mtxTransform = pBody->GetWorldMatrix();
|
||||
|
||||
Reference in New Issue
Block a user