Diff of /WedTile.cpp [25ea8d] .. [6b9f61]  Maximize  Restore

  Switch to side-by-side view

--- a/WedTile.cpp
+++ b/WedTile.cpp
@@ -607,9 +607,10 @@
       if(random)
       {
         nFrameWanted=m_ptileheader[m_pdooridx[i]].alternate;
-        if(nFrameWanted==-1)
+        if(nFrameWanted==(DWORD) -1)
         {
           nFrameWanted=the_mos.AddTileCopy(m_pdooridx[i]);
+          m_ptileheader[m_pdooridx[i]].alternate=(short) nFrameWanted;
         }
       }
       else

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks