separate function for acid potion damage pr#1195
Also includes a couple of trailing whitespace removals.
This commit is contained in:
@@ -2707,6 +2707,7 @@ remove a null sobj check from gold_detect that was situated after
|
||||
adjust prototype in extern.h
|
||||
check for valid indexes of def_monsyms[] and def_oc_syms[] in
|
||||
choose_classes_menu() (pr #1179 by argrath)
|
||||
split damage from acid potion into separate function (pr #1195 by argrath)
|
||||
|
||||
|
||||
Code Cleanup and Reorganization
|
||||
|
||||
@@ -4450,7 +4450,7 @@ acid_damage(struct obj *obj)
|
||||
|
||||
static void
|
||||
pot_acid_damage(
|
||||
struct obj *obj,
|
||||
struct obj *obj,
|
||||
boolean in_invent,
|
||||
boolean described)
|
||||
{
|
||||
@@ -4777,7 +4777,7 @@ rnd_nextto_goodpos(coordxy *x, coordxy *y, struct monst *mtmp)
|
||||
void
|
||||
back_on_ground(boolean rescued)
|
||||
{
|
||||
const char *preposit = (Levitation || Flying) ? "over" : "on",
|
||||
const char *preposit = (Levitation || Flying) ? "over" : "on",
|
||||
*surf = surface(u.ux, u.uy), *you_are_back;
|
||||
char icebuf[QBUFSZ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user