added some missing guards

This commit is contained in:
Zeno Rogue committed 2025-06-22 15:41:43 +02:00
1 parent d4bb23b8eb
commit 537a3b8779
10 files changed
+49 -6

No files matched your search

+2
View File
@@ -301,9 +301,11 @@ EX bool swordConflict(const player_move_info& sm1, const player_move_info& sm2)
EX string yasc_message;
EX string blocking_monster_name(const moveissue& mi) {
#if CAP_COMPLEX2
if(mi.monster == moKnight && mi.where)
return XLAT("%1 the Knight", camelot::knight_name(mi.where));
else
#endif
return dnameof(mi.monster);
}