index 507a56024cf75640394dbe91dd3bd4ccaa45b45a..15790197f17980f45913930944a37349e8bec432 100644 (file)
--- a/src/game/g_monsters.pas
+++ b/src/game/g_monsters.pas
function g_Monsters_GetNameByID(MonsterType: Byte): String;
begin
if MonsterType in [MONSTER_DEMON..MONSTER_MAN] then
- Result := MONSTERTABLE[MonsterType].Name;
+ Result := MONSTERTABLE[MonsterType].Name
+ else
+ Result := '?';
end;
function g_Monsters_GetKilledBy(MonsterType: Byte): String;