Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicSponge committed Nov 18, 2024
1 parent fac53f0 commit 8d813f3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/silvergun/mgr/messages.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,17 +236,14 @@ class messages final : private manager<messages> {

// Loop through the entire data file loading into the queue.
while (true) {
std::cout << "\nstart of loop\n";
if (al_feof(file)) break; // End loop if eof.

int64_t timer = -1;
std::string sys, to, from, cmd, args;

try {
// Read the message from file.
std::cout << "\nbefore read\n";
read(*file, timer, sys, to, from, cmd, args);
std::cout << "\nafter read\n";
// Add the current time to the timer value.
if (timer != -1) timer += engine_time::check();
// Add message to queue. Ignore incomplete messages. Sort while adding.
Expand Down

0 comments on commit 8d813f3

Please sign in to comment.