Hi folks,
there is a bug in the latest SSGM version 2.0.2 which can cause a crash.
This is caused by SSGMData::PowerupPurchaseHookID not being initialized.
To fix that, edit gmmain.cpp and replace
SSGMData::SSGMData() {
Mod = 0;
PlayerPurchaseHookID = 0;
VehiclePurchaseHookID = 0; // line 587
ObjectHookID = 0;
ObjectHookStruct = 0;
AllowGamelogWrite = false;
}
with
SSGMData::SSGMData() {
Mod = 0;
PlayerPurchaseHookID = 0;
VehiclePurchaseHookID = 0; // line 587
PowerupPurchaseHookID = 0; // ADD THIS LINE
ObjectHookID = 0;
ObjectHookStruct = 0;
AllowGamelogWrite = false;
}
Greetings,
Marc