summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/playerinfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/playerinfo.cpp b/src/playerinfo.cpp
index a6438187..a9f40974 100644
--- a/src/playerinfo.cpp
+++ b/src/playerinfo.cpp
@@ -224,8 +224,8 @@ void setStorageCount(int count)
if (count != old)
{
Mana::Event event("StorageCount");
- event.setBool("oldCount", old);
- event.setBool("newCount", count);
+ event.setInt("oldCount", old);
+ event.setInt("newCount", count);
Mana::EventManager::trigger("Storage", event);
}
}
@@ -245,8 +245,8 @@ void setNPCInteractionCount(int count)
if (count != old)
{
Mana::Event event("NPCCount");
- event.setBool("oldCount", old);
- event.setBool("newCount", count);
+ event.setInt("oldCount", old);
+ event.setInt("newCount", count);
Mana::EventManager::trigger("NPC", event);
}
}
@@ -264,8 +264,8 @@ void setNPCPostCount(int count)
if (count != old)
{
Mana::Event event("PostCount");
- event.setBool("oldCount", old);
- event.setBool("newCount", count);
+ event.setInt("oldCount", old);
+ event.setInt("newCount", count);
Mana::EventManager::trigger("NPC", event);
}
}