1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-05 21:43:07 +00:00

Remove dead code, fix grammer

This commit is contained in:
SkyHasACat 2025-08-03 12:50:57 -07:00
parent 4a2f85cfde
commit a0585949a9
2 changed files with 2 additions and 8 deletions

View file

@ -269,12 +269,6 @@ namespace MWWorld
list.push_back((*it)->mId);
}
}
template <class IdType, class StaticMap>
inline bool shouldInsert(const IdType& id, const StaticMap& map)
{
auto it = map.find(id);
return it != map.end();
}
template <class T, class Id>
T* TypedDynamicStore<T, Id>::insert(const T& item, bool overrideOnly)

View file

@ -876,10 +876,10 @@
-- @field [parent=#NPC] #NpcStats stats
---
-- Creates a @{#NpcRecord} without adding it to the world database.
-- Creates an @{#NpcRecord} without adding it to the world database.
-- Use @{openmw_world#(world).createRecord} to add the record to the world.
-- @function [parent=#NPC] createRecordDraft
-- @param #NpcRecord book A Lua table with the fields of a NpcRecord, with an optional field `template` that accepts a @{#NpcRecord} as a base.
-- @param #NpcRecord npc A Lua table with the fields of an NpcRecord, with an optional field `template` that accepts an @{#NpcRecord} as a base.
-- @return #NpcRecord A strongly typed NPC record.
---