nukeykt / NBlood

Reverse-engineered ports of Build games using EDuke32 engine technology and development principles (NBlood/Rednukem/PCExhumed)
606 stars 75 forks source link

Blood: Fix enemy count for vanilla mode #762

Closed tmyqlfpir closed 1 year ago

tmyqlfpir commented 1 year ago

This PR fixes an inaccuracy introduced in commit bd03c40c57575c04015336dfcc83774c7b770f67. As vanilla mode only checks the enemy type at start, it should directly call AllowedType() and use AddCount(int) instead of AddCount(spritetype).