mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-11 13:19:51 -04:00
Reindeer games additions (#33)
* Remove hat from darunia * Update some stuffs * Remove custom collectible (in favor of CustomItem) * Roguelike Co-authored-by: Caladius <Caladius@users.noreply.github.com> Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com> * Fix a bunch of stuff * Persist roguelike data * Experimental anchor tweaks * Stop freeze from scrubs & fix pablo cvar --------- Co-authored-by: Caladius <Caladius@users.noreply.github.com> Co-authored-by: Eblo <7004497+Eblo@users.noreply.github.com>
This commit is contained in:
@@ -399,9 +399,10 @@ DrawItemTableEntry sDrawItemTable[] = {
|
||||
* Calls the corresponding draw function for the given draw ID
|
||||
*/
|
||||
void GetItem_Draw(PlayState* play, s16 drawId) {
|
||||
if (drawId < 0 || drawId >= GID_MAXIMUM) {
|
||||
// SoH [Enhancements] Prevent any UB here, GID_MAXIMUM useful for overriding GI draws
|
||||
if (drawId < 0 || drawId >= GID_MAXIMUM)
|
||||
return;
|
||||
}
|
||||
|
||||
sDrawItemTable[drawId].drawFunc(play, drawId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user