Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002835Zandronum[All Projects] Suggestionpublic2016-09-13 23:092016-09-13 23:27
ReporterGummywormz 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionwaiting for zdoom 
PlatformMicrosoftOSWindowsOS Version98/ME
Product Version3.0-beta 
Target VersionFixed in Version 
Summary0002835: Make cvars of type float return a float in the console
DescriptionSo I was playing around with getting some cvar values using GetCVar, and noticed certain ones (e.g. chase_dist) would return incorrect values. I then noticed that shifting the value right by 16, or printing it as a float in acs fixed this issue. There is no indication internally what type these values are. I suggest making it clear which values are float by adding a .0 to the end of them in the console.
Steps To ReproduceSet a float cvar (chase_dist or gamma) to a whole number. Get the value of this cvar by typing it in the console. It will appear as a whole number (e.g. 30) instead of as a float (e.g. 30.0)
Attached Files

- Relationships

-  Notes
User avatar (0015636)
Dusk (developer)
2016-09-13 23:27

This should go to ZDoom first.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-09-13 23:09 Gummywormz New Issue
2016-09-13 23:27 Dusk Note Added: 0015636
2016-09-13 23:27 Dusk Status new => acknowledged
2016-09-13 23:27 Dusk Resolution open => waiting for zdoom






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker