Rename update_mon_intrinsics to ...extrinsics
There was a TODO about this; not exactly a great challenge but it feels
like a worthwhile change since the name was misleading. I also updated
the name of the do_intrinsics parameter of extract_from_minvent(worn.c),
since it was in a similar situation (and directly related, since it
controls whether to call update_mon_{in/ex}trinsics).
This commit is contained in:
@@ -703,7 +703,7 @@ mdrop_obj(
|
||||
throws rider, possibly inflicting fatal damage and producing bones; this
|
||||
is why we had to call extract_from_minvent() with do_intrinsics=FALSE */
|
||||
if (!DEADMONSTER(mon) && unwornmask)
|
||||
update_mon_intrinsics(mon, obj, FALSE, TRUE);
|
||||
update_mon_extrinsics(mon, obj, FALSE, TRUE);
|
||||
}
|
||||
|
||||
/* some monsters bypass the normal rules for moving between levels or
|
||||
|
||||
Reference in New Issue
Block a user