summaryrefslogtreecommitdiff
path: root/src/notes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/notes.cc')
-rw-r--r--src/notes.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/notes.cc b/src/notes.cc
index 8804509e..071b02e9 100644
--- a/src/notes.cc
+++ b/src/notes.cc
@@ -10,6 +10,7 @@
#include "notes.hpp"
#include "files.hpp"
+#include "game.hpp"
#include "player_class.hpp"
#include "player_type.hpp"
#include "util.hpp"
@@ -113,6 +114,8 @@ void add_note(char *note, char code)
*/
void add_note_type(int note_number)
{
+ auto const &class_info = game->edit_data.class_info;
+
char true_long_day[50];
char buf[1024];
time_t ct = time((time_t*)0);