mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Actually fix #913 oops
This commit is contained in:
parent
ef6a2886e9
commit
63b8c71264
1 changed files with 2 additions and 2 deletions
|
@ -3543,7 +3543,7 @@ void scriptclass::loadcustom(const std::string& t)
|
|||
break;
|
||||
}
|
||||
int ti=help.Int(words[1].c_str());
|
||||
int nti = ti>=0 && ti<=50 ? ti : 1;
|
||||
int nti = ti>=0 ? ti : 1;
|
||||
for(int ti2=0; ti2<nti; ti2++){
|
||||
i++;
|
||||
if(INBOUNDS_VEC(i, lines)){
|
||||
|
@ -3568,7 +3568,7 @@ void scriptclass::loadcustom(const std::string& t)
|
|||
add("text(cyan,0,0,"+words[1]+")");
|
||||
|
||||
int ti=help.Int(words[1].c_str());
|
||||
int nti = ti>=0 && ti<=50 ? ti : 1;
|
||||
int nti = ti>=0 ? ti : 1;
|
||||
for(int ti2=0; ti2<nti; ti2++){
|
||||
i++;
|
||||
if(INBOUNDS_VEC(i, lines)){
|
||||
|
|
Loading…
Reference in a new issue