mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-23 22:32:07 +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:
+1
-1
@@ -1601,7 +1601,7 @@ namespace mapeditor {
|
||||
mapeditor::paintwhat_str = "clear monster";
|
||||
mapeditor::copysource.c = NULL;
|
||||
mapeditor::undo.clear();
|
||||
if(!cheater) patterns::displaycodes = 0;
|
||||
if(!cheater) patterns::displaycodes = false;
|
||||
if(!cheater) patterns::whichShape = 0;
|
||||
modelcell.clear();
|
||||
}) +
|
||||
|
||||
Reference in New Issue
Block a user