mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
new upstream
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hack.do.c,v 1.6 2003/04/02 18:36:35 jsm Exp $ */
|
||||
/* $NetBSD: hack.do.c,v 1.7 2004/01/27 20:30:29 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: hack.do.c,v 1.6 2003/04/02 18:36:35 jsm Exp $");
|
||||
__RCSID("$NetBSD: hack.do.c,v 1.7 2004/01/27 20:30:29 jsm Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
/* Contains code for 'd', 'D' (drop), '>', '<' (up, down) and 't' (throw) */
|
||||
@@ -75,7 +75,7 @@ __RCSID("$NetBSD: hack.do.c,v 1.6 2003/04/02 18:36:35 jsm Exp $");
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
static int drop __P((struct obj *));
|
||||
static int drop(struct obj *);
|
||||
|
||||
int
|
||||
dodrop()
|
||||
@@ -406,8 +406,8 @@ dothrow()
|
||||
mon = bhit(u.dx, u.dy, (obj->otyp == ICE_BOX) ? 1 :
|
||||
(!Punished || obj != uball) ? 8 : !u.ustuck ? 5 : 1,
|
||||
obj->olet,
|
||||
(void (*) __P((struct monst *, struct obj *))) 0,
|
||||
(int (*) __P((struct obj *, struct obj *))) 0, obj);
|
||||
(void (*)(struct monst *, struct obj *)) 0,
|
||||
(int (*)(struct obj *, struct obj *)) 0, obj);
|
||||
}
|
||||
if (mon) {
|
||||
/* awake monster if sleeping */
|
||||
|
||||
Reference in New Issue
Block a user