diff options
Diffstat (limited to 'games/nil/files/patch-nil-anim_helpers.cpp')
-rw-r--r-- | games/nil/files/patch-nil-anim_helpers.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/nil/files/patch-nil-anim_helpers.cpp b/games/nil/files/patch-nil-anim_helpers.cpp new file mode 100644 index 000000000000..66b7deebadb0 --- /dev/null +++ b/games/nil/files/patch-nil-anim_helpers.cpp @@ -0,0 +1,11 @@ +--- nil/anim_helpers.cpp.orig Sat Nov 15 16:43:08 2003 ++++ nil/anim_helpers.cpp Sat Nov 15 16:57:35 2003 +@@ -210,7 +210,7 @@ + } + + if (hit != end()) +- return hit; ++ return &(*hit); + else { + logmsg(lt_debug,"Unable to find a suitable aim_id for elevation: %.2f (%i angles were tried)",elevation,size()); + return NULL; |