forked from townforge/townforge
cc: fix error in player screen in early game
This commit is contained in:
parent
cee64c3d9a
commit
2a328dc5fc
@ -3200,7 +3200,7 @@ place_found:
|
||||
for (uint64_t height = (top_height + 1) - (top_height + 1) % GAME_UPDATE_FREQUENCY; streak++ < max_streak && !streak_tracker.empty();)
|
||||
{
|
||||
height -= GAME_UPDATE_FREQUENCY;
|
||||
if (height == 0)
|
||||
if ((int64_t)height <= 0)
|
||||
break;
|
||||
const cryptonote::block block = db.get_block_from_height(height);
|
||||
const cryptonote::cc_command_game_update_t &update = boost::get<cryptonote::cc_command_game_update_t>(block.miner_tx.cc_cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user