Fix CPlayerState constructor

This commit is contained in:
Henrique Gemignani Passos Lima 2023-01-14 23:39:09 +02:00
parent d7934033c1
commit 10b6be7e29
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ CPlayerState::CPlayerState(CInputStream& stream)
x8_currentBeam = EBeamId(stream.ReadBits(GetBitCount(5)));
x20_currentSuit = EPlayerSuit(stream.ReadBits(GetBitCount(4)));
for (size_t i = 0; i < x24_powerups.capacity(); ++i) {
for (int i = 0; i < x24_powerups.capacity(); ++i) {
int amount = 0;
int capacity = 0;