修訂 | 19458ba66f2364a2387796ebb5c08e8ee5eeefa4 (tree) |
---|---|
時間 | 2012-09-12 16:31:29 |
作者 | h2so5 <h2so5@git....> |
Commiter | h2so5 |
他ウィンドウをアクティブにした時にマウス操作ができなくなる問題を修正
@@ -1,4 +1,4 @@ | ||
1 | -Miku Miku Online 0.2.6 | |
1 | +Miku Miku Online 0.2.7 | |
2 | 2 | |
3 | 3 | // ******************************** 警告 *********************************** // |
4 | 4 | // *** |
@@ -147,6 +147,11 @@ void GameLoop::ResetCameraPosition() | ||
147 | 147 | |
148 | 148 | void GameLoop::MoveCamera(InputManager* input) |
149 | 149 | { |
150 | + // 非アクティブ時はマウス操作無効 | |
151 | + if (GetActiveFlag() == 0) { | |
152 | + return; | |
153 | + } | |
154 | + | |
150 | 155 | const bool prev_right = input->GetPrevMouseRight(); |
151 | 156 | const bool prev_left = input->GetPrevMouseLeft(); |
152 | 157 | const bool right = input->GetMouseRight(); |
@@ -9,7 +9,7 @@ | ||
9 | 9 | |
10 | 10 | #define MMO_VERSION_MAJOR 0 |
11 | 11 | #define MMO_VERSION_MINOR 2 |
12 | -#define MMO_VERSION_REVISION 6 | |
12 | +#define MMO_VERSION_REVISION 7 | |
13 | 13 | |
14 | 14 | #ifdef MMO_VERSION_BUILD |
15 | 15 | #define MMO_VERSION_BUILD_TEXT " Build " MMO_VERSION_TOSTRING(MMO_VERSION_BUILD) |
@@ -45,4 +45,6 @@ for root, dirs, files in os.walk(os.path.join(bin_path, 'resources')): | ||
45 | 45 | for file in files: |
46 | 46 | absolute_path = os.path.join(root, file) |
47 | 47 | relative_path = os.path.relpath(absolute_path, bin_path) |
48 | - zip.write(absolute_path, relative_path) | |
\ No newline at end of file | ||
48 | + zip.write(absolute_path, relative_path) | |
49 | + | |
50 | +zip.close() | |
\ No newline at end of file |