StargateInvasion / SGI

Stargate Invasion is a mod for Sins of a Solar Empire.
85 stars 43 forks source link

AI squad != 0 #88

Open eljeffeg opened 5 years ago

eljeffeg commented 5 years ago

We're getting an error in-game.

Assert @ C:\Projects\P4\SinsRebellion\main\CodeSource\GS/Player/PlayerOrbitBodyInfo.cpp(187) squad != 0

This occurs when a unit, such as a carrier, is given the minelayer roletype but not any squadrons that can turn into mines. Error will only occur when AIs are involved.

eljeffeg commented 5 years ago

This seems like a flaw design in Sins. Fix until they fix the code: https://github.com/StargateInvasion/SGI/commit/d06ed81e6b8d3e957f1833abe285aa570a734863