From d00fc845c0f230849b49b004c59206bce30f73ad Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Sun, 25 Sep 2022 18:16:28 +0400 Subject: [PATCH] Fix topic infos creation --- apps/opencs/model/world/infocollection.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/opencs/model/world/infocollection.hpp b/apps/opencs/model/world/infocollection.hpp index 96061fb03c..03f938533c 100644 --- a/apps/opencs/model/world/infocollection.hpp +++ b/apps/opencs/model/world/infocollection.hpp @@ -61,6 +61,11 @@ namespace CSMWorld /// Works like getAppendIndex unless an overloaded method uses the record pointer /// to get additional info about the record that results in an alternative index. + int getAppendIndex(const std::string& id, UniversalId::Type type) const override + { + return getInsertIndex(id, type); + } + bool reorderRows (int baseIndex, const std::vector& newOrder) override; ///< Reorder the rows [baseIndex, baseIndex+newOrder.size()) according to the indices /// given in \a newOrder (baseIndex+newOrder[0] specifies the new index of row baseIndex).