mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-19 06:04:30 +00:00
added some missing guards
This commit is contained in:
1 parent
d4bb23b8eb
commit
537a3b8779
10 files changed
+49
-6
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user