From bed0280ba1b789c0b8cb0350bffe5fdbbf154607 Mon Sep 17 00:00:00 2001 From: marcin Date: Thu, 15 Nov 2012 22:33:50 +0100 Subject: [PATCH] Feature #391 Dummy AI package classes --- apps/openmw/mwmechanics/aiwander.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/openmw/mwmechanics/aiwander.cpp b/apps/openmw/mwmechanics/aiwander.cpp index ac39fe94d..71159b94b 100644 --- a/apps/openmw/mwmechanics/aiwander.cpp +++ b/apps/openmw/mwmechanics/aiwander.cpp @@ -41,7 +41,5 @@ int MWMechanics::AiWander::getIdle(int index) const { if(index < 0 || (uint)index > mIdle.size()) return -1; - int temp; - temp = mIdle.at(index); - return temp; + return mIdle.at(index); }