mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Fix null pointer dereference in plSimulationMgr::InitSimulation.
This would cause game to crash with a stack dump if PhysX is not installed on the user's machine. See also: https://mystonline.com/forums/viewtopic.php?p=430761#p430761 https://mystonline.com/forums/viewtopic.php?f=40&t=29221 https://mystonline.com/forums/viewtopic.php?f=40&t=29218 As I originally proposed 6 years ago, we could eliminate the issue of PhysX being uninstalled by updating the included PhysX_Setup.exe with the NVIDIA PhysX Legacy Installer. Details here[http://forums.openuru.org/viewtopic.php?f=92&t=870].
This commit is contained in:
@ -369,7 +369,6 @@ bool plSimulationMgr::InitSimulation()
|
||||
fSDK = NxCreatePhysicsSDK(NX_PHYSICS_SDK_VERSION, &gHeapAllocator, &gErrorStream);
|
||||
if (!fSDK)
|
||||
{
|
||||
fLog->AddLine("Phailed to init PhysX SDL");
|
||||
return false; // client will handle this and ask user to install
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user