Menu

#6280 AGI: issetv-command returns only false value

AGI Fanmade
closed-fixed
None
5
2013-04-18
2013-04-18
sterv
No

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");}

Discussion

  • sterv

    sterv - 2013-04-18
    • summary: issetv-command returns only false value --> AGI: issetv-command returns only false value
     
  • Willem Jan Palenstijn

    Which AGI version are you emulating in ScummVM?

     
  • sterv

    sterv - 2013-04-18

    v2.917

     
  • Willem Jan Palenstijn

    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?

     
  • Willem Jan Palenstijn

    • assigned_to: nobody --> wjpalenstijn
    • status: open --> pending-fixed
     
  • sterv

    sterv - 2013-04-18

    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.

     
  • sterv

    sterv - 2013-04-18
    • status: pending-fixed --> open-fixed
     
  • Willem Jan Palenstijn

    • status: open-fixed --> closed-fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.