Skip to content

Commit 46b191a

Browse files
committedSep 24, 2018
fixes #4830: warcam started at distance < 0 no longer breaks zoom when stopped
·
4.5.53.3.0-beta1
1 parent 644ffe3 commit 46b191a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
* Fix: Warnings with distributor name (commit:5ed40f3153cad4b983a473add191fcb7724416a2, commit:f7f4334869eeaad243b734341908be50ddcba0a0, ticket:4752)
128128
* Fix: Upgrade icon having extra pixels (commit:11fc00b329551893d88b8f837702c4af43d53240, ticket:4759)
129129
* Fix: MXE compiler warnings (too many commits, ticket:4753)
130+
* Fix: Warcam started at distance < 0 no longer breaks zoom when stopped (ticket:4830)
130131
* Remove: Unused sensor turret properties in design menu (commit:c6b628e2c0c815467f0799c6c65e2f88d31585d3, ticket:4619)
131132
* Remove: Do not save showFPS configuration option twice (commit:55c77847e4137c219170fff80d0342a0742499dd, ticket:4645)
132133
* Remove: Unused sensor "Nexus Link" (not the weapon with the same name!) (ticket:4768)

‎src/warcam.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct WARCAM
7474
Vector3f rotVel = Vector3f(0.f, 0.f, 0.f);
7575
Vector3f rotAccel = Vector3f(0.f, 0.f, 0.f);
7676

77-
UDWORD oldDistance;
77+
float oldDistance;
7878
BASE_OBJECT *target;
7979
};
8080

0 commit comments

Comments
 (0)