Lie about VERSION_TEXT for OMM backwards compatibility
This commit is contained in:
parent
1543aac714
commit
5e3dce9020
|
@ -12340,4 +12340,4 @@ VERSION_REGION = "SH"
|
||||||
VERSION_REGION = "US"
|
VERSION_REGION = "US"
|
||||||
|
|
||||||
--- @type string
|
--- @type string
|
||||||
VERSION_TEXT = "v"
|
VERSION_TEXT = "beta"
|
||||||
|
|
|
@ -4298,7 +4298,7 @@ char gSmluaConstants[] = ""
|
||||||
"COOP_OBJ_FLAG_LUA = (1 << 1)\n"
|
"COOP_OBJ_FLAG_LUA = (1 << 1)\n"
|
||||||
"COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n"
|
"COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n"
|
||||||
"COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n"
|
"COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n"
|
||||||
"VERSION_TEXT = 'v'\n"
|
"VERSION_TEXT = 'beta'\n"
|
||||||
"VERSION_NUMBER = 36\n"
|
"VERSION_NUMBER = 36\n"
|
||||||
"MINOR_VERSION_NUMBER = 0\n"
|
"MINOR_VERSION_NUMBER = 0\n"
|
||||||
"PATCH_VERSION_NUMBER = 0\n"
|
"PATCH_VERSION_NUMBER = 0\n"
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
|
#undef VERSION_TEXT
|
||||||
|
#define VERSION_TEXT "v"
|
||||||
|
|
||||||
static char sVersionString[MAX_VERSION_LENGTH] = { 0 };
|
static char sVersionString[MAX_VERSION_LENGTH] = { 0 };
|
||||||
static char sLocalVersionString[MAX_LOCAL_VERSION_LENGTH] = { 0 };
|
static char sLocalVersionString[MAX_LOCAL_VERSION_LENGTH] = { 0 };
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef VERSION_H
|
#ifndef VERSION_H
|
||||||
#define VERSION_H
|
#define VERSION_H
|
||||||
|
|
||||||
#define VERSION_TEXT "v"
|
#define VERSION_TEXT "beta"
|
||||||
#define VERSION_NUMBER 36
|
#define VERSION_NUMBER 36
|
||||||
#define MINOR_VERSION_NUMBER 0
|
#define MINOR_VERSION_NUMBER 0
|
||||||
#define PATCH_VERSION_NUMBER 0
|
#define PATCH_VERSION_NUMBER 0
|
||||||
|
|
Loading…
Reference in New Issue