/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 20:10:52 UTC
  • Revision ID: josh@9ix.org-20110917201052-ehpgcrfxfey2q81y
drastically less hacky way to hide the darkness

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->position = Vector2(2048, 1600);
 
261
              player->dark->isVisible = false;
262
262
              levelEditor->Enable();
263
263
            } else {
264
264
              levelEditor->Disable();
 
265
              player->dark->isVisible = true;
265
266
            }
266
267
          }
267
268
      }