Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
ConstantsManager crash fix, changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
wipe2238 committed Jan 26, 2019
1 parent 33c5799 commit 515c68c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Docs/changelog/CHANGELOG.md
Expand Up @@ -6,6 +6,15 @@ Complete list of changes in FOClassic since [FOnline SDK r412](https://github.co
- [Nightly builds](https://ci.appveyor.com/project/rotators/foclassic/) (Linux, Windows)


## [v6]() (WIP)

- precompiled scripts (Client cache/.fosb files) are saved with version of AngelScript used to compile them; in case of version mismatch:
- [Client] new cache is requested
- [Server] script is compiled from source
- Client cache contains more detailed informations about engine version used to compile scripts
- new cache is requested if cached version info does not match Client


## [v5](https://github.com/rotators/foclassic/releases/tag/v5/)

- fixed loading of .fosb files when script source cannot be found
Expand Down
1 change: 1 addition & 0 deletions Source/ConstantsManager.cpp
Expand Up @@ -28,6 +28,7 @@ vector<ConstCollection> ConstCollections;

void ConstantsManager::Initialize( int path_type, const char* path /* = NULL */ )
{
ConstCollections.resize( CONSTANTS_HASH + 1 );
for( int i = 0; i <= CONSTANTS_HASH; i++ )
{
if( path )
Expand Down

0 comments on commit 515c68c

Please sign in to comment.