Make Debug Great Again
This commit is contained in:
parent
6c7369a8be
commit
4841e8d5ba
@ -334,11 +334,11 @@ void Server::Run() {
|
|||||||
delete chmo;
|
delete chmo;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto& bull : outbox_bullets)
|
//for (auto& bull : outbox_bullets)
|
||||||
delete bull;
|
//delete bull;
|
||||||
|
|
||||||
for (auto& bull : netbull)
|
//for (auto& bull : netbull)
|
||||||
delete bull;
|
//delete bull;
|
||||||
|
|
||||||
outbox_bullets.clear();
|
outbox_bullets.clear();
|
||||||
netbull.clear();
|
netbull.clear();
|
||||||
|
@ -1625,7 +1625,7 @@ void Engine::KeyPressEvent(unsigned char key) {
|
|||||||
break;
|
break;
|
||||||
case 36: // ESC - Quitter
|
case 36: // ESC - Quitter
|
||||||
if (m_networkgame)
|
if (m_networkgame)
|
||||||
break;
|
Stop();
|
||||||
if (m_gamestate == GameState::PLAY) {
|
if (m_gamestate == GameState::PLAY) {
|
||||||
m_gamestate = GameState::PAUSE;
|
m_gamestate = GameState::PAUSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user