ScummVM-version: 1.5.0
Platform: Linux 64 bit ( Ubuntu 12.04 .deb )
Bug: AGI-command issetv(var vA) returns only false value
How to reproduce:
reset(f195); // Resetting flag 195
v40 = 195; // Setting variable 40's value to 195
toggle.v(v40); // Toggling flag 195 from reset to set
if (issetv(v40)) {print("%v40 TRUE");}
if (!issetv(v40)) {print("%v40 FALSE");}
Which AGI version are you emulating in ScummVM?
v2.917
Looks like we had a typo in that test. I fixed that in commit e4a9717434190fdd4. Could you verify if it works in the next daily build of ScummVM?
I will do that once it's available just in case since I already tested by downloading 1.5.0-source, manually adding your fix, compiled and it works. Thank you for the quick fix.