/minild29

To get this branch, use:
bzr branch http://9ix.org/bzr/minild29

« back to all changes in this revision

Viewing changes to Dark.cpp

  • Committer: Josh C
  • Date: 2011-09-17 19:59:09 UTC
  • Revision ID: josh@9ix.org-20110917195909-v02b0cco0yri61qc
disappear darkness mask in editor mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
            isPaused = !isPaused;
259
259
            
260
260
            if (isPaused) {
261
 
              player->dark->isVisible = false;
 
261
              player->dark->position = Vector2(2048, 1600);
262
262
              levelEditor->Enable();
263
263
            } else {
264
264
              levelEditor->Disable();
265
 
              player->dark->isVisible = true;
266
265
            }
267
266
          }
268
267
      }