--- deliantra/Deliantra-Client/Client.xs 2006/08/18 03:19:58 1.145 +++ deliantra/Deliantra-Client/Client.xs 2006/08/19 02:49:53 1.146 @@ -296,6 +296,7 @@ { int x, y; maprow *row; + mapcell *cell; for (y = y0; y < y0 + h; y++) if (y >= 0) @@ -311,7 +312,10 @@ if (x >= row->c1) break; - row->col[x - row->c0].darkness = 0; + cell = row->col + x - row->c0; + + cell->darkness = 0; + cell->stat_hp = 0; } } } @@ -1288,7 +1292,6 @@ cell->face [0] = 0; cell->face [1] = 0; cell->face [2] = 0; - cell->stat_hp = 0; } //TODO: don't trust server data to be in-range(!) @@ -1333,7 +1336,10 @@ } } else - cell->darkness = 0; + { + cell->darkness = 0; + cell->stat_hp = 0; + } } }