mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Change i++ to ++i
This commit is contained in:
parent
2480f2d06f
commit
34b7a147dc
41 changed files with 125 additions and 125 deletions
|
@ -858,7 +858,7 @@ std::string RollbackManager::getSuspect(v3s16 p, float nearness_shortcut,
|
|||
float likely_suspect_nearness = 0;
|
||||
for (std::list<RollbackAction>::const_reverse_iterator
|
||||
i = action_latest_buffer.rbegin();
|
||||
i != action_latest_buffer.rend(); i++) {
|
||||
i != action_latest_buffer.rend(); ++i) {
|
||||
if (i->unix_time < first_time) {
|
||||
break;
|
||||
}
|
||||
|
@ -897,7 +897,7 @@ void RollbackManager::flush()
|
|||
|
||||
for (iter = action_todisk_buffer.begin();
|
||||
iter != action_todisk_buffer.end();
|
||||
iter++) {
|
||||
++iter) {
|
||||
if (iter->actor == "") {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue