-Fix-ish?: comparing the old Direction to the possibly new state containing a TrackDir... well comparing apples and pears. Occasionally they would be the same and occasionally not; at least without any logic behind it. 
Since the occasions that the false branch was taken never resulted in a bug report, I highly doubt that removing it completely affects anything... except the visual speed of cornering in a numer of corners (<50%) and visual speed in an old style road stop.


git-svn-id: http://svn.openttd.org/trunk@26118 6aa0318a-3be1-0310-93fa-89fd2396df07
-Fix: ResolveCompanyID on an already resolved CompanyID


git-svn-id: http://svn.openttd.org/trunk@26119 6aa0318a-3be1-0310-93fa-89fd2396df07
-Fix: [Script] Replace simple check with precondition check, after that simple check was documented as a precondition


git-svn-id: http://svn.openttd.org/trunk@26120 6aa0318a-3be1-0310-93fa-89fd2396df07
-Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever


git-svn-id: http://svn.openttd.org/trunk@26121 6aa0318a-3be1-0310-93fa-89fd2396df07
-Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget


git-svn-id: http://svn.openttd.org/trunk@26122 6aa0318a-3be1-0310-93fa-89fd2396df07
-Fix: make sure the maximum row length when making company buttons is at least 1


git-svn-id: http://svn.openttd.org/trunk@26123 6aa0318a-3be1-0310-93fa-89fd2396df07
-Fix: make sure all members of the default string iterator are initialised


git-svn-id: http://svn.openttd.org/trunk@26124 6aa0318a-3be1-0310-93fa-89fd2396df07