Prevent segfault, water_damage may get a NULL obj
This commit is contained in:
@@ -3159,6 +3159,8 @@ boolean force;
|
||||
{
|
||||
boolean exploded = FALSE;
|
||||
|
||||
if (!obj) return ER_NOTHING;
|
||||
|
||||
if (snuff_lit(obj))
|
||||
return ER_DAMAGED;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user