From: Seth Date: Wed, 23 Oct 2024 23:34:18 +0000 (-0700) Subject: Another trivial change to test receive hook X-Git-Url: https://isoptera.lcsc.edu/gitweb/?a=commitdiff_plain;h=f06a3f3080d6dc0f949718104ca47014b903a014;p=example_engine%2F.git Another trivial change to test receive hook --- diff --git a/main.cpp b/main.cpp index f0c1e90..c45dc00 100644 --- a/main.cpp +++ b/main.cpp @@ -181,7 +181,7 @@ void object_movement(){ } // grand_mutex.unlock(); for(gameobject* o : objects) - o->move(); // move needs a paramter which indicates how long since we last called move + o->move(); // move needs a parameter which indicates how long since we last called move auto end_time = std::chrono::system_clock::now(); int cpu_time = std::chrono::duration_cast(end_time - start_time).count(); last_call = start_time;