Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See https://forum.zdoom.org/viewtopic.php?f=2&t=72687 for more information.
- Loading branch information
See https://forum.zdoom.org/viewtopic.php?f=2&t=72687 for more information.
3f9a3a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same check is used at line 1340 in void ParseMaterial() , that one should be changed too.
3f9a3a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment lacks a permalink to source line in question, so everyone needs find it themselves just to confirm the case.
If you were spent some time on looking for similar errors, and to write the comment as well, how about making it useful?
Or even better, just make a PR with the fix.
3f9a3a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/coelckers/gzdoom/blob/3f9a3a454b3889b1471dc851795098cd05ae4690/src/r_data/gldefs.cpp#L1340
Like this? You're not going to change it from GitHub anyway and you'll need to search for it to change it in your editor. The same line "if (thiswad && fileSystem.GetFileContainer(lumpnum) == workingLump) useme = true;". I also wrote it on the forum and Discord. I was about to include the commit in my last PR but i'm supposed to do one PR for only one thing. I mentioned function and line but it was wrong.
3f9a3a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if I read your comment from a device that has full fledged web browser but no development tools?
Still, this conversation wouldn't happen you did it right initially. Pull requests and reviews exist for a reason.
Source code discussions without direct links to files and commits, patches instead of PRs, random thoughts instead of facts, inability to understand what others are asking, etc, look way too amateurish to me.
All this could be acceptable in some cases. Although, such things may become very annoying over time.
It's a generic observation, and I'm not taking about particular person. Everyone can make a mistake, but my complaint is about tendency to continue doing them over and over again.
3f9a3a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the end i've made the PR:
#1434