mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-12 21:27:41 +00:00
Fix some truncation warnings for the benefit of MSVC.
rug.cpp(1266): warning C4305: 'argument': truncation from 'double' to 'GLclampf' tour.cpp(629): warning C4305: '=': truncation from 'int' to 'bool'
This commit is contained in:
4
tour.cpp
4
tour.cpp
@@ -626,10 +626,10 @@ slide default_slides[] = {
|
||||
[] (presmode mode) {
|
||||
setCanvas(mode, 't');
|
||||
if(mode == 1)
|
||||
patterns::displaycodes = 2,
|
||||
patterns::displaycodes = true,
|
||||
patterns::whichPattern = 'z';
|
||||
if(mode == 3)
|
||||
patterns::displaycodes = 0,
|
||||
patterns::displaycodes = false,
|
||||
patterns::whichPattern = 0;
|
||||
SHOWLAND ( l == laCanvas );
|
||||
}
|
||||
|
Reference in New Issue
Block a user