couple of reformatting bits

Some formatting stuff left out of recent commits.  No change in
behavior.
This commit is contained in:
PatR
2022-10-08 15:56:12 -07:00
parent 334fd76ab4
commit 769e154546
2 changed files with 15 additions and 5 deletions

View File

@@ -1041,7 +1041,8 @@ hitmu(register struct monst *mtmp, register struct attack *mattk)
mhitm_adtyping(mtmp, mattk, &g.youmonst, &mhm);
(void) mhitm_knockback(mtmp, &g.youmonst, mattk, &mhm.hitflags, (MON_WEP(mtmp) != 0));
(void) mhitm_knockback(mtmp, &g.youmonst, mattk, &mhm.hitflags,
(MON_WEP(mtmp) != 0));
if (mhm.done)
return mhm.hitflags;
@@ -2147,7 +2148,10 @@ mayberem(struct monst *mon,
* damage applies.
*/
static int
passiveum(struct permonst *olduasmon, struct monst *mtmp, struct attack *mattk)
passiveum(
struct permonst *olduasmon,
struct monst *mtmp,
struct attack *mattk)
{
int i, tmp;
struct attack *oldu_mattk = 0;

View File

@@ -2880,7 +2880,10 @@ do_stinking_cloud(struct obj *sobj, boolean mention_stinking)
* revive one, the disoriented creature becomes a zombie
*/
boolean
cant_revive(int* mtype, boolean revival, struct obj* from_obj)
cant_revive(
int *mtype,
boolean revival,
struct obj *from_obj)
{
/* SHOPKEEPERS can be revived now */
if (*mtype == PM_GUARD || (*mtype == PM_SHOPKEEPER && !revival)
@@ -2902,7 +2905,9 @@ cant_revive(int* mtype, boolean revival, struct obj* from_obj)
}
static boolean
create_particular_parse(char* str, struct _create_particular_data* d)
create_particular_parse(
char *str,
struct _create_particular_data *d)
{
int gender_name_var = NEUTRAL;
char *bufp = str;
@@ -3015,7 +3020,8 @@ create_particular_parse(char* str, struct _create_particular_data* d)
}
static boolean
create_particular_creation(struct _create_particular_data* d)
create_particular_creation(
struct _create_particular_data *d)
{
struct permonst *whichpm = NULL;
int i, mx, my, firstchoice = NON_PM;