working on web
This commit is contained in:
1 parent
fa3a4c66c9
commit
db4254e205
4 files changed
+55
-12
No files matched your search
+2
-2
@@ -103,10 +103,10 @@ namespace ZL {
|
||||
});
|
||||
uiManager.setSliderCallback("velocitySlider", [this](const std::string& name, float value) {
|
||||
int newVel = roundf(value * 10);
|
||||
/*if (newVel > 2)
|
||||
if (newVel > 2)
|
||||
{
|
||||
newVel = 2;
|
||||
}*/
|
||||
}
|
||||
|
||||
if (newVel != Environment::shipState.selectedVelocity) {
|
||||
onVelocityChanged(newVel);
|
||||
|
||||
Reference in new issue
Block a user