Yaya
This commit is contained in:
@@ -117,10 +117,10 @@ Timestamp Connection::Run(World* world) {
|
||||
if (m_input_manifest.size() < 2)
|
||||
return tstamp;
|
||||
|
||||
if (player->AmIDead()) {
|
||||
m_input_manifest.clear();
|
||||
return tstamp;
|
||||
}
|
||||
//if (player->AmIDead()) {
|
||||
// m_input_manifest.clear();
|
||||
// return tstamp;
|
||||
//}
|
||||
|
||||
while (m_last_in < m_input_vector.size() - 1) {
|
||||
in = m_input_vector.at(m_last_in + 1);
|
||||
@@ -131,7 +131,7 @@ Timestamp Connection::Run(World* world) {
|
||||
if (m_shoot_acc > 0.) {
|
||||
m_shoot_acc -= el;
|
||||
if (m_shoot_acc < 0.)
|
||||
m_shoot_acc = 0;
|
||||
m_shoot_acc = 0.;
|
||||
}
|
||||
|
||||
player->SetDirection(in.direction);
|
||||
|
Reference in New Issue
Block a user