Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crashes end of campaign tutorial 4 #119

Closed
waym0re opened this issue May 8, 2024 · 2 comments
Closed

Game crashes end of campaign tutorial 4 #119

waym0re opened this issue May 8, 2024 · 2 comments

Comments

@waym0re
Copy link

waym0re commented May 8, 2024

Globulation 2 - 0.9.4.4

Compiled on Aug 31 2023 at 14:21:45

Compiled with SDL version 1.2.64
Linked with SDL version 1.2.68


Near the end of the tutorial, when destroying the final buildings of the enemy, the game crashes (both regular and opengl), and the error is as follow:

glob2: src/Game.cpp:2201: void Game::drawMapGroundBuildings(int, int, int, int, int, int, int, int, int, Uint32, std::set<Building*>*): Assertion `building' failed.
Aborted (core dumped)

Using the Arch package in the regular repo (aka pacman -S glob2).

@Quipyowert2
Copy link
Contributor

Quipyowert2 commented May 8, 2024

Does this happen when destroying a racetrack? If so, this is bug #44 which there is a workaround for in PR #84 which stops it from crashing. The correct fix would be to edit the racetrack coordinates in the map editor but that is broken at the moment.

Does it still happen when using Globulation 2 compiled from latest master?

There hasn't been a release in quite some time, see discussion in #76 about whether to release yet or not. Hopefully there will be a release soon. :)

@waym0re
Copy link
Author

waym0re commented May 8, 2024

Yes, I'm sorry, indeed the latest compilation works, and it does seem related to the racetrack in the map editor. Closing the issue.

@waym0re waym0re closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants