mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 08:09:39 +00:00
Issue #539: fixed AiWander
This commit is contained in:
parent
aa514a53d9
commit
3053440462
1 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue