Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Crash while doing campaign #2008

Closed
wzdev-ci opened this issue Jul 20, 2010 · 10 comments
Closed

Crash while doing campaign #2008

wzdev-ci opened this issue Jul 20, 2010 · 10 comments

Comments

@wzdev-ci
Copy link
Contributor

keyword_buildingDamaged keyword_crash keyword_display.c resolution_fixed type_bug | by Fastdeath


Warzone crashed by a division by zero error.

Full crashdump is attached.

Tell me if you need more informations.


Issue migrated from trac:2008 at 2022-04-15 22:08:29 -0700

@wzdev-ci
Copy link
Contributor Author

Fastdeath uploaded file crashdump.txt (18.3 KiB)

@wzdev-ci
Copy link
Contributor Author

cybersphinx commented


Division by zero because the building under the mouse had zero hitpoints, and it tried to calculate a percentage from that.

@wzdev-ci
Copy link
Contributor Author

the_cybersphinx changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

the_cybersphinx set resolution to fixed

@wzdev-ci
Copy link
Contributor Author

the_cybersphinx commented


(In [11306]) Simplify buildingDamaged().

Prevents a possible division by zero, closes #2008.

@wzdev-ci
Copy link
Contributor Author

the_cybersphinx commented


(In [11307]) Simplify buildingDamaged().

Prevents a possible division by zero, closes #2008.

@wzdev-ci
Copy link
Contributor Author

the_cybersphinx commented


(In [11308]) Simplify buildingDamaged().

Prevents a possible division by zero, closes #2008.

@wzdev-ci
Copy link
Contributor Author

Git SVN Gateway <gateway@...> commented


(In Warzone2100/warzone2100@7b3dce7) Simplify buildingDamaged().

Prevents a possible division by zero, closes #2008.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11307 4a71c877-e1ca-e34f-864e-861f7616d084

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 9, 2010

Git SVN Gateway <gateway@...> commented


In Warzone2100/warzone2100@7b3dce7:

#CommitTicketReference repository="" revision="7b3dce75dfa48be88133a6205192f18022c27f86"
Simplify buildingDamaged().

Prevents a possible division by zero, closes #2008.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11307 4a71c877-e1ca-e34f-864e-861f7616d084

1 similar comment
@wzdev-ci
Copy link
Contributor Author

Git SVN Gateway <gateway@...> commented


In Warzone2100/warzone2100@7b3dce7:

#CommitTicketReference repository="" revision="7b3dce75dfa48be88133a6205192f18022c27f86"
Simplify buildingDamaged().

Prevents a possible division by zero, closes #2008.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11307 4a71c877-e1ca-e34f-864e-861f7616d084

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant