From 9b606be4b8e34e7e48631e4428e27ed210f6bda3 Mon Sep 17 00:00:00 2001 From: gugus Date: Fri, 11 Mar 2011 19:39:45 +0100 Subject: [PATCH] fix direction bug --- apps/openmw/mwclass/npc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwclass/npc.cpp b/apps/openmw/mwclass/npc.cpp index 4678df222..e037d691e 100644 --- a/apps/openmw/mwclass/npc.cpp +++ b/apps/openmw/mwclass/npc.cpp @@ -461,7 +461,7 @@ namespace MWClass if (ptr.getRefData().getMovement().get()) { vector.x = - ptr.getRefData().getMovement()->mLeftRight * 200; - vector.z = - ptr.getRefData().getMovement()->mForwardBackward * 200; + vector.y = ptr.getRefData().getMovement()->mForwardBackward * 200; if (getStance (ptr, Run, false)) vector *= 2;