Traps-big-gay t1_ittpg2e wrote
Reply to comment by iwrite4myself in [WP] You are an NPC in an RPG. Normally, your attack is set to 1. However, a player used a cursed item on you, reducing your attack by 2, causing it to underflow, making you the most powerful in the game. by alegonz
If your code uses unsigned integers it can't handle negatives, so it loops back to the highest positive value
iwrite4myself t1_itu0ejw wrote
Ah. Thank you!
Viewing a single comment thread. View all comments