1
0
Fork 1
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:
Marc Zinnschlag 2013-05-24 15:03:46 +02:00
parent 62479cd885
commit b1a8dc35e0

View file

@ -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;
} }