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

Ripple Rockets Extreme Fire Speed #4179

Closed
wzdev-ci opened this issue Feb 11, 2014 · 8 comments
Closed

Ripple Rockets Extreme Fire Speed #4179

wzdev-ci opened this issue Feb 11, 2014 · 8 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by Ginger88895


Ripple Rockets have over 60000 fire speed. Please also fix this.


Issue migrated from trac:4179 at 2022-04-16 11:42:01 -0700

@wzdev-ci
Copy link
Contributor Author

Ginger88895 uploaded file snapshot1.png (721.5 KiB)

snapshot1.png

@wzdev-ci
Copy link
Contributor Author

Ginger88895 commented


Sorry I forgot to provide some information.
Version: git/master (nightly)
Component: stats/balancing
Operating System: Linux 64-bit

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 2, 2014

Roland uploaded file #4179.patch (0.6 KiB)

Fixing Patch

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 2, 2014

Roland commented


There was an integer arithmetic overflow while multiplying with WEAPON_TIME.
I've attached a patch that fixes that.

@wzdev-ci
Copy link
Contributor Author

vexed changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

vexed changed owner from `` to vexed

@wzdev-ci
Copy link
Contributor Author

vexed changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

vexed committed [42]


In Warzone2100/warzone2100@42cf3af:

#CommitTicketReference repository="" revision="42cf3af169466aa3ed7aa28192d8fcd9c4f8479d"
Fix horrible formatting, and fix types to be what they were before.
(prevents unwanted overflow behavior --don't use signed types if we don't know for sure that they will not cause undesired behavior)
For example, range should never have a negative value, and on a overflow, it would now have a negative value.

refs: 545832358b570e340e1b9fd0b689b9c9693bcc7d
closes #4301
fixes #4179

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