implement cactus damage

* Added cactus damage for players and issues the respective death message.

Halts if condition is reached

* style nitpicks

---------

Co-authored-by: p2r3 <p2r3@p2r3.com>
This commit is contained in:
Henry Wandover
2025-09-15 14:30:33 -04:00
committed by GitHub
parent ff89519340
commit e5dfe53d14
2 changed files with 17 additions and 1 deletions

View File

@@ -142,6 +142,9 @@
// every time a block is broken.
#define ENABLE_PICKUP_ANIMATION
// If defined, players are able to receive damage from nearby cacti.
#define ENABLE_CACTUS_DAMAGE
// If defined, logs unrecognized packet IDs
// #define DEV_LOG_UNKNOWN_PACKETS