summaryrefslogtreecommitdiff
path: root/games/nil/files/patch-nil-anim_helpers.cpp
blob: 66b7deebadb0e0132e9a0f75658718f2b15b0248 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;