mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Issue #539: fixed AiWander
This commit is contained in:
parent
aa514a53d9
commit
3053440462
@ -181,10 +181,14 @@ namespace MWScript
|
|||||||
runtime.pop();
|
runtime.pop();
|
||||||
|
|
||||||
std::vector<int> idleList;
|
std::vector<int> idleList;
|
||||||
for (unsigned int i=0; i<arg0; ++i) {
|
idleList.push_back (0); // why MW, why?
|
||||||
|
|
||||||
|
for (int i=2; i<10 && arg0; ++i)
|
||||||
|
{
|
||||||
Interpreter::Type_Integer idleValue = runtime[0].mFloat;
|
Interpreter::Type_Integer idleValue = runtime[0].mFloat;
|
||||||
idleList.push_back(idleValue);
|
idleList.push_back(idleValue);
|
||||||
runtime.pop();
|
runtime.pop();
|
||||||
|
--arg0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// discard additional arguments (reset), because we have no idea what they mean.
|
// discard additional arguments (reset), because we have no idea what they mean.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user