Commit Graph
8 Commits
Author SHA1 Message Date
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
johndoe123 1800f9d8dc BBVS: Fix bug #6954: Pathfinding bug in Prison
The bug was caused by a check introduced by me to avoid division-by-zero errors
when the source and dest x values are equal.
This had the side effect that it didn't work well in this case outlined in the
bug report, maybe also in other places.
I'm not sure how to handle a DBZ correctly here so I'm setting the x delta to
1.0 if it would normally be 0.0, which seems to work after walking around
in some scenes.
2015-11-23 13:22:51 +01:00
Filippos Karapetis 88e5998ee5 BBVS: Remove trailing whitespace 2014-10-28 16:24:45 +02:00
Johannes Schickel f2685a8876 BBVS: Use floating point constants of type float. 2014-06-02 01:00:15 +02:00
Johannes Schickel 3630c588c6 BBVS: Silence double->float conversion warning.
This might not be obvious to a C++ developer, but we use C's sin which is
*always* double. Thus, sin will return a double and therefore some compilers
might warn about this conversion.
2014-06-02 01:00:14 +02:00
Matthew Hoops d5b5d4b545 BBVS: Silence gcc conversion warnings 2014-06-01 17:28:34 -04:00
Strangerke e324f3e6be BVBS: Fix some uninitialized variables 2014-03-20 19:28:05 +01:00
Filippos Karapetis b56f8f2212 BBVS: Move some code out of bbvs.cpp 2014-02-22 20:34:52 +02:00