mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
minor adjustments
This commit is contained in:
parent
62479cd885
commit
b1a8dc35e0
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ namespace MWScript
|
||||||
std::vector<int> idleList;
|
std::vector<int> idleList;
|
||||||
bool repeat = false;
|
bool repeat = false;
|
||||||
|
|
||||||
for(short i=1; i < 10 && arg0; ++i)
|
for(int i=1; i < 10 && arg0; ++i)
|
||||||
{
|
{
|
||||||
if(!repeat)
|
if(!repeat)
|
||||||
repeat = true;
|
repeat = true;
|
||||||
|
@ -195,7 +195,7 @@ namespace MWScript
|
||||||
|
|
||||||
if(arg0)
|
if(arg0)
|
||||||
{
|
{
|
||||||
repeat = runtime[0].mInteger;
|
repeat = runtime[0].mInteger != 0;
|
||||||
runtime.pop();
|
runtime.pop();
|
||||||
--arg0;
|
--arg0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue