diff --git a/src/miscc.c b/src/miscc.c
index 7c69aeab6ac4e48e168747732a49982b4a17e05b..2ece443937950ae40de63f13a88cc8537a3e5248 100644 (file)
--- a/src/miscc.c
+++ b/src/miscc.c
#include "dots.h"
#include "monster.h"
#include "misc.h"
+#include "render.h"
//#define WD 200
//#define HT 98
return st;
}
-void Z_splash(obj_t *p,int n) {
- Z_sound(bulsnd[0],128);
- DOT_water(p->x,p->y-p->h/2,p->xv+p->vx,p->yv+p->vy,n,
- (intptr_t)walp[wfront]-1);
+void Z_splash (obj_t *p, int n) {
+ Z_sound(bulsnd[0], 128);
+ DOT_water(p->x, p->y-p->h / 2, p->xv + p->vx, p->yv + p->vy, n, R_get_special_id(wfront));
}
void Z_calc_time(dword t,word *h,word *m,word *s)