diff --git a/Bin/VC10/VC10.vcxproj b/Bin/VC10/VC10.vcxproj
index 185b127..4075b76 100644
--- a/Bin/VC10/VC10.vcxproj
+++ b/Bin/VC10/VC10.vcxproj
@@ -83,6 +83,7 @@
+
@@ -124,6 +125,7 @@
+
diff --git a/Bin/VC10/VC10.vcxproj.filters b/Bin/VC10/VC10.vcxproj.filters
index 2d8e9f1..7599343 100644
--- a/Bin/VC10/VC10.vcxproj.filters
+++ b/Bin/VC10/VC10.vcxproj.filters
@@ -159,6 +159,9 @@
Actor
+
+ Actor
+
@@ -254,5 +257,8 @@
Actor
+
+ Actor
+
\ No newline at end of file
diff --git a/src/Actor/Player.cpp b/src/Actor/Player.cpp
index e4692be..8c51999 100644
--- a/src/Actor/Player.cpp
+++ b/src/Actor/Player.cpp
@@ -17,6 +17,12 @@ Player::Player(void) {
}
Player::~Player(void) {
+ for(int i = 0; i < 4; i++) {
+ if(_stepSFX[i]) {
+ sfxManager.Destroy(_stepSFX[i]);
+ _stepSFX[i] = NULL;
+ }
+ }
delete _player;
}
diff --git a/src/Main/Game.cpp b/src/Main/Game.cpp
index 55d429c..215a590 100644
--- a/src/Main/Game.cpp
+++ b/src/Main/Game.cpp
@@ -93,7 +93,7 @@ void Game::OnResize(int width, int height) {
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
- glOrtho(0.0, 800.0, 0.0, 600.0, 0.0, 1.0);
+ glOrtho(0.0, 800.0, 600.0, 0.0, 0.0, 1.0);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();