Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.3.0: Default float value 0 in AGS 4.0.0 Alpha #28

Open
edmundito opened this issue Dec 6, 2024 · 0 comments
Open

2.3.0: Default float value 0 in AGS 4.0.0 Alpha #28

edmundito opened this issue Dec 6, 2024 · 0 comments
Milestone

Comments

@edmundito
Copy link
Owner

In the AGS 4 compiler, float default values should be 0.0 instead of 0. This works, but there are warnings displayed:

image

The fix is simple: Set a conditional around line 56 in the script header:

// Default startDelay
#define Tween_START_DELAY 0
#define Tween_START_DELAY_GUI 0
#define Tween_START_DELAY_AUDIO 0
@edmundito edmundito added the bug label Dec 6, 2024
@edmundito edmundito added this to the 2.4.0 milestone Dec 6, 2024
@edmundito edmundito added enhancement and removed bug labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant