1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

fixed AiWander arguments

This commit is contained in:
Marc Zinnschlag 2013-05-13 11:27:36 +02:00
parent 9835c6df11
commit af191c7382

View File

@ -185,7 +185,7 @@ namespace MWScript
for (int i=2; i<10 && arg0; ++i) for (int i=2; i<10 && arg0; ++i)
{ {
Interpreter::Type_Integer idleValue = runtime[0].mFloat; Interpreter::Type_Integer idleValue = runtime[0].mInteger;
idleList.push_back(idleValue); idleList.push_back(idleValue);
runtime.pop(); runtime.pop();
--arg0; --arg0;