mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-12 19:06:09 -10:00
PVS-Studio fix: The 'false' value is implicitly casted to the integer type.
This commit is contained in:
1 parent
a04a14170f
commit
e20a418c94
7 files changed
+11
-11
No files matched your search
+2
-2
@@ -10347,11 +10347,11 @@ ADE_VIRTVAR(MouseControlStatus, l_Mouse, "boolean", "Gets and sets the retail mo
|
||||
{
|
||||
if (newVal)
|
||||
{
|
||||
Use_mouse_to_fly = true;
|
||||
Use_mouse_to_fly = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
Use_mouse_to_fly = false;
|
||||
Use_mouse_to_fly = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user