Add explicit cast to void

All other these calls not using a return value have a cast.
This commit is contained in:
SHIRAKATA Kentaro
2022-03-16 22:45:39 +09:00
parent 64371dc8b3
commit 1c7faa0585
3 changed files with 4 additions and 4 deletions

View File

@@ -1068,7 +1068,7 @@ mhurtle(struct monst *mon, int dx, int dy, int range)
cc.y = mon->my + (dy * range);
(void) walk_path(&mc, &cc, mhurtle_step, (genericptr_t) mon);
if (!DEADMONSTER(mon) && t_at(mon->mx, mon->my))
mintrap(mon, FORCEBUNGLE);
(void) mintrap(mon, FORCEBUNGLE);
else
(void) minliquid(mon);
return;