Skip to content

Commit fdae2e8

Browse files
committed
sync
1 parent 7636ad8 commit fdae2e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/silvergun/mgr/messages.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ class messages final : private manager<messages> {
222222
static bool load_script(const std::string& fname) {
223223
// Open data file - read binary mode.
224224
ALLEGRO_FILE* file;
225+
std::cout << "file not yet opened\n";
225226
file = al_fopen(fname.c_str(), "rb");
227+
std::cout << "file opened\n";
226228
// File not found, error.
227229
if (!file) {
228230
al_fclose(file);
@@ -238,7 +240,9 @@ class messages final : private manager<messages> {
238240

239241
try {
240242
// Read the message from file.
243+
std::cout << "before read\n";
241244
read(*file, timer, sys, to, from, cmd, args);
245+
std::cout << "after read\n";
242246
// Add the current time to the timer value.
243247
if (timer != -1) timer += engine_time::check();
244248
// Add message to queue. Ignore incomplete messages. Sort while adding.

0 commit comments

Comments
 (0)