Fix Fort Ludios room type
... and add an impossible when lua tries to create unknown room type.
This commit is contained in:
@@ -3496,6 +3496,8 @@ int defval;
|
||||
res = room_types[i].type;
|
||||
break;
|
||||
}
|
||||
if (!room_types[i].name)
|
||||
impossible("Unknown room type '%s'", roomstr);
|
||||
}
|
||||
Free(roomstr);
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user