score wrapping band-aid
This patch simply keeps the score from wrapping by capping it at LONG_MAX. If someone wants to change the score to be unsigned, some changes will need to be made to tweak this code (and use ULONG_MAX instead). I'm assuming that our platforms all have limits.h.
This commit is contained in:
@@ -60,6 +60,7 @@ thrown potions can sometimes hit a steed's saddle
|
||||
sync default documentation of "null" option with the code
|
||||
tripping over a cockatrice corpse didn't petrify, even when not wearing boots
|
||||
do not call swamps on the Juiblex level "moat" when freezing
|
||||
keep score from wrapping around and becoming negative by capping it
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user