Fix withdrawal perk crash
This commit is contained in:
parent
f3eef3fe6c
commit
33bda1612c
|
@ -3080,7 +3080,10 @@ static void performWithdrawalStart(Object* obj, int perk, int pid)
|
|||
|
||||
if (obj == gDude) {
|
||||
char* description = perkGetDescription(perk);
|
||||
displayMonitorAddMessage(description);
|
||||
// SFALL: Fix crash when description is missing.
|
||||
if (description != NULL) {
|
||||
displayMonitorAddMessage(description);
|
||||
}
|
||||
}
|
||||
|
||||
int duration = 10080;
|
||||
|
|
Loading…
Reference in New Issue