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:
parent
4a2f85cfde
commit
a0585949a9
2 changed files with 2 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue