summaryrefslogtreecommitdiff
path: root/src/gamelog_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamelog_internal.h')
-rw-r--r--src/gamelog_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gamelog_internal.h b/src/gamelog_internal.h
index ad9921f4e..261a8cd57 100644
--- a/src/gamelog_internal.h
+++ b/src/gamelog_internal.h
@@ -12,7 +12,6 @@
#ifndef GAMELOG_INTERNAL_H
#define GAMELOG_INTERNAL_H
-#include "network/core/config.h"
#include "gamelog.h"
/** Type of logged change */
@@ -33,6 +32,8 @@ enum GamelogChangeType {
};
+static const uint GAMELOG_REVISION_LENGTH = 15;
+
/** Contains information about one logged change */
struct LoggedChange {
GamelogChangeType ct; ///< Type of change logged in this struct
@@ -42,7 +43,7 @@ struct LoggedChange {
byte landscape; ///< landscape (temperate, arctic, ...)
} mode;
struct {
- char text[NETWORK_REVISION_LENGTH]; ///< revision string, _openttd_revision
+ char text[GAMELOG_REVISION_LENGTH]; ///< revision string, _openttd_revision
uint32 newgrf; ///< _openttd_newgrf_version
uint16 slver; ///< _sl_version
byte modified; ///< _openttd_revision_modified