fix: Only draw chapter icon if valid patch#740
Conversation
📝 WalkthroughSummary by CodeRabbit
WalkthroughBehold, fellow acolytes of the Omnissiah! The sacred script within the object creation rites has been refined. Now, the invocation to draw the chapter icon sprite is only performed if the machine-spirit of Changes
Possibly related PRs
Suggested labels
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (2)`**/*.gml`: - Macro constants require a space between the constant name and value. Without it, the compiler will throw an error. I.e. `#macro ARR_body_parts["arm"]` will crash the ...
`**/*.*`: - Having humanly understandable and maintainable code is always the top most priority. - DRY (Don't repeat yourself) principle is also very important. - Ensure that the c...
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Purpose
make a check for -1 value before drawing chapter sprite
Describe your changes/additions
What can/needs to be improved/changed
Testing done
Related things and/or additional context
https://discord.com/channels/714022226810372107/1362553879732162764