summaryrefslogtreecommitdiffstats
path: root/pokemod/ItemStorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/ItemStorage.cpp')
-rw-r--r--pokemod/ItemStorage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemod/ItemStorage.cpp b/pokemod/ItemStorage.cpp
index 6901e677..3c73449a 100644
--- a/pokemod/ItemStorage.cpp
+++ b/pokemod/ItemStorage.cpp
@@ -23,7 +23,7 @@
#include "ItemStorage.h"
-PokeGen::PokeMod::ItemStorage::ItemStorage(unsigned _id)
+PokeGen::PokeMod::ItemStorage::ItemStorage(const unsigned _id)
{
LogCtor("ItemStorage", _id);
name = "";
@@ -32,7 +32,7 @@ PokeGen::PokeMod::ItemStorage::ItemStorage(unsigned _id)
id = _id;
}
-PokeGen::PokeMod::ItemStorage::ItemStorage(Ini &ini, unsigned _id)
+PokeGen::PokeMod::ItemStorage::ItemStorage(Ini &ini, const unsigned _id)
{
LogCtorIni("ItemStorage", _id);
ImportIni(ini, _id);
@@ -83,7 +83,7 @@ void PokeGen::PokeMod::ItemStorage::Validate(const wxListBox &output)
}
#endif
-void PokeGen::PokeMod::ItemStorage::ImportIni(Ini &ini, unsigned _id)
+void PokeGen::PokeMod::ItemStorage::ImportIni(Ini &ini, const unsigned _id)
{
LogImportStart("ItemStorage");
if (_id == UINT_MAX)
@@ -120,13 +120,13 @@ void PokeGen::PokeMod::ItemStorage::SetName(const String &n)
name = n;
}
-void PokeGen::PokeMod::ItemStorage::SetComputer(unsigned c)
+void PokeGen::PokeMod::ItemStorage::SetComputer(const unsigned c)
{
LogSetVar("ItemStorage", id, "computer", c, name);
computer = c;
}
-void PokeGen::PokeMod::ItemStorage::SetPlayer(unsigned p)
+void PokeGen::PokeMod::ItemStorage::SetPlayer(const unsigned p)
{
LogSetVar("ItemStorage", id, "player", p, name);
if (p)