- If a sector has less placements for militia than militia slots, distribute excess militia to random locations instead of not spawning them.

- Fix: crash in mine display due to invalid gridno.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7868 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2015-05-19 20:50:05 +00:00
parent c677c462bc
commit 62d5dd1854
3 changed files with 88 additions and 12 deletions
+9 -9
View File
@@ -15,9 +15,9 @@
#ifdef JA2EDITOR
#ifdef JA2UB
CHAR16 zVersionLabel[256] = { L"Unfinished Business - Map Editor v1.13.7823 (Development Build)" };
CHAR16 zVersionLabel[256] = { L"Unfinished Business - Map Editor v1.13.7868 (Development Build)" };
#else
CHAR16 zVersionLabel[256] = { L"Map Editor v1.13.7823 (Development Build)" };
CHAR16 zVersionLabel[256] = { L"Map Editor v1.13.7868 (Development Build)" };
#endif
// ------------------------------
@@ -27,11 +27,11 @@
//DEBUG BUILD VERSION
#ifdef JA2UB
CHAR16 zVersionLabel[256] = { L"Debug: Unfinished Business - v1.13.7823 (Development Build)" };
CHAR16 zVersionLabel[256] = { L"Debug: Unfinished Business - v1.13.7868 (Development Build)" };
#elif defined (JA113DEMO)
CHAR16 zVersionLabel[256] = { L"Debug: JA2 Demo - v1.13.7823 (Development Build)" };
CHAR16 zVersionLabel[256] = { L"Debug: JA2 Demo - v1.13.7868 (Development Build)" };
#else
CHAR16 zVersionLabel[256] = { L"Debug: v1.13.7823 (Development Build)" };
CHAR16 zVersionLabel[256] = { L"Debug: v1.13.7868 (Development Build)" };
#endif
#elif defined CRIPPLED_VERSION
@@ -46,16 +46,16 @@
//RELEASE BUILD VERSION
#ifdef JA2UB
CHAR16 zVersionLabel[256] = { L"Release Unfinished Business - v1.13.7823 (Development Build)" };
CHAR16 zVersionLabel[256] = { L"Release Unfinished Business - v1.13.7868 (Development Build)" };
#elif defined (JA113DEMO)
CHAR16 zVersionLabel[256] = { L"Release JA2 Demo - v1.13.7823 (Development Build)" };
CHAR16 zVersionLabel[256] = { L"Release JA2 Demo - v1.13.7868 (Development Build)" };
#else
CHAR16 zVersionLabel[256] = { L"Release v1.13.7823 (Development Build)" };
CHAR16 zVersionLabel[256] = { L"Release v1.13.7868 (Development Build)" };
#endif
#endif
CHAR8 czVersionNumber[16] = { "Build 15.04.19" }; //YY.MM.DD
CHAR8 czVersionNumber[16] = { "Build 15.05.19" }; //YY.MM.DD
CHAR16 zTrackingNumber[16] = { L"Z" };
// SAVE_GAME_VERSION is defined in header, change it there