fragglet/sdl-sopwith

Ground targets only shoot at player 1

fragglet opened this issue · 0 comments

See here:

obp = objtop;

After the first level, the game is made more difficult by having the ground targets shoot back at enemy planes. But the logic only targets the first plane on the level (player 1, the cyan player). This should instead be searching through the object list to find any enemy planes that are in range.