comparison rogue5/pack.c @ 225:4f6e056438eb

Merge the GCC5 and build fix branches.
author John "Elwin" Edwards
date Wed, 02 Mar 2016 21:28:34 -0500
parents e5a15b09ce1d
children
comparison
equal deleted inserted replaced
224:4d0f53998e8a 225:4f6e056438eb
19 * update_mdest: 19 * update_mdest:
20 * Called after picking up an object, before discarding it. 20 * Called after picking up an object, before discarding it.
21 * If this was the object of something's desire, that monster will 21 * If this was the object of something's desire, that monster will
22 * get mad and run at the hero 22 * get mad and run at the hero
23 */ 23 */
24 update_mdest(obj) 24 void
25 register THING *obj; 25 update_mdest(THING *obj)
26 { 26 {
27 register THING *mp; 27 register THING *mp;
28 28
29 for (mp = mlist; mp != NULL; mp = next(mp)) 29 for (mp = mlist; mp != NULL; mp = next(mp))
30 if (mp->t_dest == &obj->o_pos) 30 if (mp->t_dest == &obj->o_pos)