summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_bs1.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-07-19 13:17:43 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-07-19 13:17:43 -0400
commit287bdab653c8ec4e10c31b6b2530dfd5ff7b9639 (patch)
treed4e3870a294512cd0b0cda13fc3e9de776d66c31 /src/d/actor/d_a_npc_bs1.cpp
parent66dfae2571265ed7b72c9a6cb74d804a50695f3e (diff)
Match daNpc_Bs1_c::CreateInit and cLib_minMaxLimit inline
Diffstat (limited to 'src/d/actor/d_a_npc_bs1.cpp')
-rw-r--r--src/d/actor/d_a_npc_bs1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_bs1.cpp b/src/d/actor/d_a_npc_bs1.cpp
index 44cc9e30..7f83e054 100644
--- a/src/d/actor/d_a_npc_bs1.cpp
+++ b/src/d/actor/d_a_npc_bs1.cpp
@@ -1596,7 +1596,7 @@ BOOL daNpc_Bs1_c::CreateInit() {
mShopIndex = 6;
}
- mShopIndex = cLib_minMaxLimit<int>(mShopIndex, 0, 7);
+ mShopIndex = cLib_minMaxLimit<s8>(mShopIndex, 0, 7);
mShopCamAction.setCamDataIdx(mShopIndex);
mShopItems.setItemDataIdx(mShopIndex);