Fixed a problem I noticed after adding Z's 6 new decks to my res folder: if the number of AI decks wasn't a multiple of 10, the game would slow to a crawl, since there was a check that compared the number of actual decks against the number of unlocked AI decks (which is always incremented by 10 when new decks are unlocked) to determine whether the list of AI deck names should be refreshed or not. This was a pointless check, since we can load all the names once, and simply use the unlocked AI count value when determining what decks to allow to be used during random match playing.
This change restores the performance on psp back to where it was with 0.13.1, where the ai deck number happened to be a neat 100 count.
This commit is contained in:
@@ -426,6 +426,7 @@
|
||||
<None Include="Makefile" />
|
||||
<None Include="Makefile.1xx" />
|
||||
<None Include="Makefile.3xx" />
|
||||
<None Include="My Amplifier Results\r000hs\r000hs.ampl" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="include\ActionElement.h" />
|
||||
|
||||
Reference in New Issue
Block a user