diff options
| author | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-05 02:12:51 (GMT) |
|---|---|---|
| committer | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-05 02:12:51 (GMT) |
| commit | 4ed5b47bfffd20c887e422a3997a756cc0066866 (patch) | |
| tree | f9e5b765aa4dd8b2630f2fc35b94b5d2c1094db0 /src/graphics.c | |
| parent | 443a861eaf59819fef9ba17033106057b17ea4df (diff) | |
| download | powder-4ed5b47bfffd20c887e422a3997a756cc0066866.zip powder-4ed5b47bfffd20c887e422a3997a756cc0066866.tar.gz | |
LOL GOL WORKS
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c index b403fe3..e108e99 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1244,6 +1244,7 @@ void draw_parts(pixel *vid) int cr, cg, cb; float fr, fg, fb; float pt = R_TEMP; + int gol[XRES][YRES]; for(i = 0; i<NPART; i++) { #ifdef OpenGL if(cmode == 6) //If fire mode @@ -2213,7 +2214,6 @@ void render_signs(pixel *vid_buf) sprintf(buff, "Pressure: %3.2f", pv[signs[i].y/CELL][signs[i].x/CELL]); //...pressure drawtext(vid_buf, x+3, y+3, buff, 255, 255, 255, 255); } - if(strcmp(signs[i].text, "{t}")==0) { if((pmap[signs[i].y][signs[i].x]>>8)>0 && (pmap[signs[i].y][signs[i].x]>>8)<NPART) |
