From 50512cdef88b0cfb256e25a5fc4f4fd4690c39e7 Mon Sep 17 00:00:00 2001 From: Matthew Day Date: Thu, 9 Dec 2021 03:17:08 -0600 Subject: [PATCH] Fix spelling --- dGame/dComponents/InventoryComponent.cpp | 2 +- dGame/dComponents/RacingControlComponent.cpp | 4 ++-- dGame/dInventory/Inventory.cpp | 2 +- dScripts/BossSpiderQueenEnemyServer.cpp | 2 +- dScripts/ImgBrickConsoleQB.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dGame/dComponents/InventoryComponent.cpp b/dGame/dComponents/InventoryComponent.cpp index ffd40ed7..50ea26b1 100644 --- a/dGame/dComponents/InventoryComponent.cpp +++ b/dGame/dComponents/InventoryComponent.cpp @@ -296,7 +296,7 @@ void InventoryComponent::RemoveItem(const LOT lot, const uint32_t count, eInvent { if (count == 0) { - Game::logger->Log("InventoryComponent", "Attempted to remove 0 of item (%i) to the inventory!\n", lot); + Game::logger->Log("InventoryComponent", "Attempted to remove 0 of item (%i) from the inventory!\n", lot); return; } diff --git a/dGame/dComponents/RacingControlComponent.cpp b/dGame/dComponents/RacingControlComponent.cpp index a882f314..e7fd02c8 100644 --- a/dGame/dComponents/RacingControlComponent.cpp +++ b/dGame/dComponents/RacingControlComponent.cpp @@ -718,7 +718,7 @@ void RacingControlComponent::Update(float deltaTime) { m_Started = true; - Game::logger->Log("RacingControlComponent", "Starting rase\n"); + Game::logger->Log("RacingControlComponent", "Starting race\n"); EntityManager::Instance()->SerializeEntity(m_Parent); @@ -871,7 +871,7 @@ void RacingControlComponent::Update(float deltaTime) { } Game::logger->Log("RacingControlComponent", - "Rached point (%i)/(%i)\n", player.respawnIndex, + "Reached point (%i)/(%i)\n", player.respawnIndex, path->pathWaypoints.size()); break; diff --git a/dGame/dInventory/Inventory.cpp b/dGame/dInventory/Inventory.cpp index 75d4c586..b77be4b2 100644 --- a/dGame/dInventory/Inventory.cpp +++ b/dGame/dInventory/Inventory.cpp @@ -237,7 +237,7 @@ void Inventory::AddManagedItem(Item* item) if (slots.find(slot) != slots.end()) { - Game::logger->Log("Inventory", "Attempting to add an item with and already present slot (%i)!\n", slot); + Game::logger->Log("Inventory", "Attempting to add an item with an already present slot (%i)!\n", slot); return; } diff --git a/dScripts/BossSpiderQueenEnemyServer.cpp b/dScripts/BossSpiderQueenEnemyServer.cpp index 0b44f4ac..9896fd45 100644 --- a/dScripts/BossSpiderQueenEnemyServer.cpp +++ b/dScripts/BossSpiderQueenEnemyServer.cpp @@ -243,7 +243,7 @@ void BossSpiderQueenEnemyServer::SpiderWaveManager(Entity* self) { // Prep the selected spider egg //randomEgg:FireEvent{s}erID=self, args="prepEgg"} eggEntity->OnFireEventServerSide(self, "prepEgg"); - Game::logger->Log("SpiderQueen", "Preppign egg %llu\n", eggEntity->GetObjectID()); + Game::logger->Log("SpiderQueen", "Prepping egg %llu\n", eggEntity->GetObjectID()); // Add the prepped egg to our hatchList hatchList.push_back(eggEntity->GetObjectID()); diff --git a/dScripts/ImgBrickConsoleQB.cpp b/dScripts/ImgBrickConsoleQB.cpp index afa320c2..b24cb9bf 100644 --- a/dScripts/ImgBrickConsoleQB.cpp +++ b/dScripts/ImgBrickConsoleQB.cpp @@ -275,7 +275,7 @@ void ImgBrickConsoleQB::OnTimerDone(Entity* self, std::string timerName) { if (timerName == "reset") { - Game::logger->Log("ImgBrickConsoleQB", "Reseting...\n"); + Game::logger->Log("ImgBrickConsoleQB", "Resetting...\n"); auto* rebuildComponent = self->GetComponent();