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

Bug when executing the program inside maps directory #12

Open
SrVariable opened this issue May 2, 2024 · 0 comments
Open

Bug when executing the program inside maps directory #12

SrVariable opened this issue May 2, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@SrVariable
Copy link
Collaborator

The sprite path searching fails when the program is executed in the maps directory, leading to the error:

[ERROR] Invalid texture, I can't open it

It should be easy to fix, just use the same algorithm, but for argv[0] (program) instead of argv[1] (map) in this scenario.

@SrVariable SrVariable added the good first issue Good for newcomers label May 2, 2024
@SrVariable SrVariable self-assigned this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant