From 74e719c20675488c80805db9d73ea67b078e6256 Mon Sep 17 00:00:00 2001 From: Eric Robinson Date: Fri, 17 Jan 2025 21:29:37 -0500 Subject: [PATCH] Add fixed monster tags --- Source/player.cpp | 2 +- assets/data/monstertags.clx | Bin 440 -> 872 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/player.cpp b/Source/player.cpp index 871a3218127..05d7c513a47 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -3191,7 +3191,7 @@ void SyncInitPlrPos(Player &player) const WorldTileDisplacement offset[9] = { { 0, 0 }, { 1, 0 }, { 0, 1 }, { 1, 1 }, { 2, 0 }, { 0, 2 }, { 1, 2 }, { 2, 1 }, { 2, 2 } }; Point position = [&]() { - for (int i = 0; i < 8; i++) { + for (int i = 0; i < MaxPlayers; i++) { Point position = player.position.tile + offset[i]; if (PosOkPlayer(player, position)) return position; diff --git a/assets/data/monstertags.clx b/assets/data/monstertags.clx index 0136fa40428d2c51dc4d9aae14accd90da3a2cb1..7799a5127bf2b3f07edfaecfbd673b6a7ab4da0f 100644 GIT binary patch literal 872 zcmajXF=_%q6o>IKi^xV&1#*gE4-MyDnNQ~N%DH!@T{!o|T)P{0#~bIK%S&vhSjF-j ztH!yCEq1|fvYYIJ-TK}7t-Jo$JH0RUar+W)|1-a1^~TdL){JQK_ASg3S&&nolk1cR zyqwO67GJXJ@QLA*F(G^s#)%X@@;SMV3?GdN;jB7*X!vkI2p@()B8B&TPOg2!`vXEa zs}AoO-s=*=d!d_1;T@loYsc_Tmk`dX!}o^ocZBeL*d`z4bCR>%WaxJ7Kbo}LG&NgNk8F_+>5whbm*kuO-1Cn29n1Z$*MHwz(|DZ4 zvGf9g!pR{2P?>N1(WxotqMS`h$V!7?t4N>{otknf%Egp~tTYI=iUcarsVUc@Tun*H ON`qjlNT3p(pYjWSf(l;%