Jump to content

[patch][6150] fear Primitive Primitive Path-finding


Recommended Posts

Posted

What bug does the patch fix? What features does the patch add?

little fix in switch case of primitive path-finding for fear movement generator.

For which SubVersion revision was the patch created?

6148

Who has been writing this patch? Please include either forum user names or email addresses.

me

Index: src/game/FleeingMovementGenerator.cpp
===================================================================
--- src/game/FleeingMovementGenerator.cpp        (revision 6148)
+++ src/game/FleeingMovementGenerator.cpp        (working copy)
@@ -130,7 +130,7 @@
                                distance /= 2;
                                break;
                        case 10:
-                                angle = cur_angle + M_PI/2.0f;
+                                angle = cur_angle - M_PI/2.0f;
                                distance /= 2;
                                break;
                        case 11:

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use