this is a !GOLDOBJ bug, the money was not put back into ugold in this
case when it was not thrown
when polymorphed, player killing a paper or straw golem via fire damage
would kill the golem twice, resulting in an impossible error
usually stop mimicing if you polymorph while using #monster mimic capability
+under !GOLDOBJ, gold shouldn't disappear if you try to throw it at yourself
Platform- and/or Interface-Specific Fixes
register struct monst *mon;
if(!u.dx && !u.dy && !u.dz) {
+#ifndef GOLDOBJ
+ u.ugold += obj->quan;
+ flags.botl = 1;
+ dealloc_obj(obj);
+#endif
You("cannot throw gold at yourself.");
return(0);
}