File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -621,8 +621,8 @@ def on_draw(self) -> None:
621621 light [~ visible ] = 0 # Set non-visible areas to darkness.
622622
623623 # Setup background colors for floating point math.
624- light_bg = self .light_map_bg .astype (np .float16 )
625- dark_bg = self .dark_map_bg .astype (np .float16 )
624+ light_bg : NDArray [ np . float16 ] = self .light_map_bg .astype (np .float16 )
625+ dark_bg : NDArray [ np . float16 ] = self .dark_map_bg .astype (np .float16 )
626626
627627 # Linear interpolation between colors.
628628 sample_console .tiles_rgb ["bg" ] = dark_bg + (light_bg - dark_bg ) * light [..., np .newaxis ]
Original file line number Diff line number Diff line change 99
1010import cffi # type: ignore
1111
12- from tcod import __path__ # type: ignore
12+ from tcod import __path__
1313
1414__sdl_version__ = ""
1515
You can’t perform that action at this time.
0 commit comments