aboutsummaryrefslogtreecommitdiff
path: root/frontend/GameData.cpp
diff options
context:
space:
mode:
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 739ad1e..4556621 100644
--- a/frontend/GameData.cpp
+++ b/frontend/GameData.cpp
@@ -79,7 +79,7 @@ Object * GameData::create_object(const string & name) {
if (!type_map.contains(type)) throw std::exception();
return ObjectFactory::create_object({
.name = name.c_str(),
- .description = row.col<const char *>(1),
+ .description = row.col<const char *>(1, nullptr),
.type = type_map.at(type),
.min_value = row.col<int>(2),
.max_value = row.col<int>(3),