* NPC\82Ì\91m\97µ/\93ò\91m/\96@\89¤\82ª\90_\82Ì\96¼\82ð\8a¥\82µ\82Ä\82¢\82È\82¢\96â\91è\82ð\8fC\90³ (#36910)
* \83E\83B\83U\81[\83h\83\82\81[\83h\82Å\83C\83F\83\93\83_\81[\82Ì\96\82\8f\9c\82¯\82ª\8aè\82¦\82È\82¢\96â\91è\82ð\8fC\90³ (#36939)
* \83I\81[\83N\8a´\92m\92\86\82Ì\83X\83e\83B\83\93\83O\82Ì\8bP\82«\95\\8e¦\82ª\96³\82¢\96â\91è\82ð\8fC\90³ (#36953)
+ * \8aè\82¢\82Å\93¾\82½\82à\82Ì\82ð\8eæ\82è\97\8e\82Æ\82µ\82½\8e\9e\82Ì\83\81\83b\83Z\81[\83W\82ª\82¨\82©\82µ\82¢\96â\91è\82ð\8fC\90³
+ (#36991)
Wed Dec 7 2016 Kentaro Shirakata <argrath@ub32.org>
|| levl[u.ux][u.uy].typ >= ICE)
? "Oops! %s away from you!"
: "Oops! %s to the floor!");
+
+ /* The(aobjnam()) is safe since otmp is unidentified -dlc */
+ (void) hold_another_object(otmp, oops_msg,
+ The(aobjnam(otmp, verb)),
+ (const char *) 0);
#else
*oops_msg = (u.uswallow
- ? "\82¨\82Á\82Æ\81C\93Í\82©\82È\82¢\82Æ\82±\82ë\82É%s\81I"
+ ? "\82¨\82Á\82Æ\81C%%s\82ª\93Í\82©\82È\82¢\82Æ\82±\82ë\82É%s\81I"
: (Is_airlevel(&u.uz) || Is_waterlevel(&u.uz)
|| levl[u.ux][u.uy].typ < IRONBARS
|| levl[u.ux][u.uy].typ >= ICE)
- ? "\82¨\82Á\82Æ\81C\8eè\82©\82ç%s\81I"
- : "\82¨\82Á\82Æ\81C\8f°\82É%s\81I");
-#endif
+ ? "\82¨\82Á\82Æ\81C%%s\82ª\8eè\82©\82ç%s\81I"
+ : "\82¨\82Á\82Æ\81C%%s\82ª\8f°\82É%s\81I");
+ char oopsbuf[BUFSZ];
+ Sprintf(oopsbuf, oops_msg, verb);
- /* The(aobjnam()) is safe since otmp is unidentified -dlc */
- (void) hold_another_object(otmp, oops_msg,
- The(aobjnam(otmp, verb)),
+ (void) hold_another_object(otmp, oopsbuf,
+ xname(otmp),
(const char *) 0);
+#endif
u.ublesscnt += rn1(100, 50); /* the gods take notice */
}
}