mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
minor fixes for building with vs2008.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1179 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -440,7 +440,7 @@ void instrBinary (BinaryInstructionType i, ScriptValueP& a, const ScriptValueP&
|
||||
else if (bi == 1) a = to_script(aa);
|
||||
else if (bi == 2) a = to_script(aa * aa);
|
||||
else if (bi == 3) a = to_script(aa * aa * aa);
|
||||
else a = to_script(pow(aa,bi));
|
||||
else a = to_script(pow((double)aa,bi));
|
||||
}
|
||||
} else {
|
||||
a = to_script(pow((double)*a, (double)*b));
|
||||
|
||||
Reference in New Issue
Block a user