Fix crystal ball use after being destroyed
Crystal ball can be destroyed when used, so pass the object parameter back as null in that case.
This commit is contained in:
@@ -3486,7 +3486,7 @@ doapply()
|
||||
res = use_towel(obj);
|
||||
break;
|
||||
case CRYSTAL_BALL:
|
||||
use_crystal_ball(obj);
|
||||
use_crystal_ball(&obj);
|
||||
break;
|
||||
case MAGIC_MARKER:
|
||||
res = dowrite(obj);
|
||||
|
||||
Reference in New Issue
Block a user