[refactoring5]: SW: No rocket launcher pushback at close ranges

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [refactoring5]: SW: No rocket launcher pushback at close ranges

Re: [refactoring5]: SW: No rocket launcher pushback at close ranges

by Graf Zahl » Thu Oct 13, 2022 6:57 am

It didn't even get a warning on MSVC warning level 4. :(

Re: [refactoring5]: SW: No rocket launcher pushback at close ranges

by Rachael » Thu Oct 13, 2022 5:24 am

C++ gets you again! That sure is a tricky one that likes to sneak up on you when you least expect it.

Re: [refactoring5]: SW: No rocket launcher pushback at close ranges

by Graf Zahl » Thu Oct 13, 2022 4:12 am

fixed. This was caused by multiplying with (3 / 4) which C++ turns into a 0 because both values are integers.

[refactoring5]: SW: No rocket launcher pushback at close ranges

by mjr4077au » Wed Oct 12, 2022 4:55 am

Current behaviour:


Expected behaviour as per 1.5.0.

Top