mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-15 18:39:51 +00:00
minor adjustments
This commit is contained in:
parent
62479cd885
commit
b1a8dc35e0
@ -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…
x
Reference in New Issue
Block a user