prevent a static analyzer warning
This commit is contained in:
@@ -795,8 +795,9 @@ costly_alteration(struct obj *obj, int alter_type)
|
||||
if (learn_bknown)
|
||||
obj->bknown = 1; /* ok to bypass set_bknown() here */
|
||||
if (costly_spot(u.ux, u.uy) && objroom == *u.ushops) {
|
||||
if (shkp)
|
||||
if (shkp) {
|
||||
SetVoice(shkp, 0, 80, 0);
|
||||
}
|
||||
verbalize("You %s %s, you pay for %s!",
|
||||
alteration_verbs[alter_type], those, them);
|
||||
bill_dummy_object(obj);
|
||||
|
||||
Reference in New Issue
Block a user