aboutsummaryrefslogtreecommitdiff
path: root/frontend/GameData.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-02 23:11:42 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-02 23:11:42 +0100
commited78baff64fe45479ca6c480d985ce0f9c0c9515 (patch)
treeb3224d0d01dc0c563c8e49751c628994b66f58b6 /frontend/GameData.cpp
parent07b8a5b0baed8c7b23681c99f25f297045945bfc (diff)
more bug fixes
Diffstat (limited to 'frontend/GameData.cpp')
-rw-r--r--frontend/GameData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/GameData.cpp b/frontend/GameData.cpp
index 70a8058..635073a 100644
--- a/frontend/GameData.cpp
+++ b/frontend/GameData.cpp
@@ -77,7 +77,7 @@ Object * GameData::create_object(const string & name) const {
.description = row.col<const char *>(0, nullptr),
.type = row.col<const char *>(1, nullptr),
.value = { row.col<int>(2), row.col<int>(3) },
- .protection = row.col<int>(4),
+ .protection = row.col<unsigned int>(4),
});
} catch (Exception & e) {
return ObjectFactory::create_object(name.c_str());