mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 18:11:35 +00:00
Type index type error fixed
This commit is contained in:
parent
85a9edf2ee
commit
33ea66b86d
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ namespace MWWorld
|
||||||
template<typename T>
|
template<typename T>
|
||||||
static int AssignStoreToIndex(ESMStore& stores, Store<T>& store)
|
static int AssignStoreToIndex(ESMStore& stores, Store<T>& store)
|
||||||
{
|
{
|
||||||
const int storeIndex = ESMStore::getTypeIndex<T>();
|
const std::size_t storeIndex = ESMStore::getTypeIndex<T>();
|
||||||
if (stores.mStores.size() <= storeIndex)
|
if (stores.mStores.size() <= storeIndex)
|
||||||
stores.mStores.resize(storeIndex + 1);
|
stores.mStores.resize(storeIndex + 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue