Merge branch 'old-software-compatibility' of https://github.com/chasonr/NetHack into NetHack-3.7
This commit is contained in:
@@ -2107,7 +2107,7 @@ place_object(struct obj *otmp, coordxy x, coordxy y)
|
||||
register struct obj *otmp2;
|
||||
|
||||
if (!isok(x, y)) { /* validate location */
|
||||
void (*func)(const char *, ...) PRINTF_F(1, 2);
|
||||
void (*func)(const char *, ...) PRINTF_F_PTR(1, 2);
|
||||
|
||||
func = (x < 0 || y < 0 || x > COLNO - 1 || y > ROWNO - 1) ? panic
|
||||
: impossible;
|
||||
|
||||
@@ -413,7 +413,7 @@ invault(void)
|
||||
otherwise the hero wouldn't be able to push one to follow the
|
||||
guard out of the vault because that guard would be in its way */
|
||||
if ((otmp = sobj_at(BOULDER, guard->mx, guard->my)) != 0) {
|
||||
void (*func)(const char *, ...) PRINTF_F(1, 2);
|
||||
void (*func)(const char *, ...) PRINTF_F_PTR(1, 2);
|
||||
const char *bname = simpleonames(otmp);
|
||||
int bcnt = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user