From 26804768252b8bed235619a8d8051707f0e4f539 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 23 May 2026 21:37:56 -0400 Subject: [PATCH] fixes entry for the big-endian fix --- doc/fixes5-0-1.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/fixes5-0-1.txt b/doc/fixes5-0-1.txt index b7c02e531..0c3addb87 100644 --- a/doc/fixes5-0-1.txt +++ b/doc/fixes5-0-1.txt @@ -35,6 +35,11 @@ fix a buffer overflow in reroll processing that was introduced in a post-release 5.0.0 commit ensure a checkpoint, aka a save_currentstate() call, isn't done before the game is ready +add ANY_INT16 to any_types and use it for u.ux/uy/tx/ty and uz dlevel/dnum; + those are coordxy (int16_t) but the Lua bindings were treating them + as 1-byte fields, so on big-endian m68k Lua read the high byte (0) + instead of the actual value. Symptom: place_object off map <0,0> + in the tutorial. Platform- and/or Interface-Specific Fixes