From 7ed73859c4ec2b88630cb69523a768a396d597e3 Mon Sep 17 00:00:00 2001 From: Steven Casper Date: Sun, 23 Jun 2024 00:14:27 -0400 Subject: [PATCH] More sensible union access in zNPCTiki_InitStacking --- src/SB/Game/zNPCTypeTiki.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SB/Game/zNPCTypeTiki.cpp b/src/SB/Game/zNPCTypeTiki.cpp index a14fa851..e1876911 100644 --- a/src/SB/Game/zNPCTypeTiki.cpp +++ b/src/SB/Game/zNPCTypeTiki.cpp @@ -71,8 +71,8 @@ void zNPCTiki_InitStacking(zScene* zsc) { float32 dh = tiki->landHt - tiki->bound.box.box.lower.y; tiki->bound.box.box.lower.y += dh; - tiki->bound.cyl.h += dh; - tiki->bound.sph.center.y += dh; + tiki->bound.box.box.upper.y += dh; + tiki->bound.box.center.y += dh; tiki->model->Mat->pos.y += dh; } tiki->tikiFlag &= ~0x1;