… | … | ||
---|---|---|---|
345 | int x, y, darklevel, basex, basey, mflags, light, x1, y1; | 345 | int x, y, darklevel, basex, basey, mflags, light, x1, y1; |
346 | maptile *m = op->map; | 346 | maptile *m = op->map; |
347 | sint16 nx, ny; | 347 | sint16 nx, ny; |
348 | 348 | ||
349 | darklevel = m->darkness; | 349 | darklevel = m->darkness; |
350 | darklevel = MAX_DARKNESS;//D | ||
351 | 350 | ||
352 | /* If the player can see in the dark, lower the darklevel for him */ | 351 | /* If the player can see in the dark, lower the darklevel for him */ |
353 | if (QUERY_FLAG (op, FLAG_SEE_IN_DARK)) | 352 | if (QUERY_FLAG (op, FLAG_SEE_IN_DARK)) |
354 | darklevel -= MAX_DARKNESS_LOS / 2; | 353 | darklevel -= MAX_DARKNESS_LOS / 2; |
355 | 354 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |