Skip to content

Instantly share code, notes, and snippets.

@SeTM
Created June 12, 2011 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SeTM/1021472 to your computer and use it in GitHub Desktop.
Save SeTM/1021472 to your computer and use it in GitHub Desktop.
From 6177d88fd4f9c1d1b85874202afe00a57e26aa36 Mon Sep 17 00:00:00 2001
From: SeT <set@wowacadem.ru>
Date: Sun, 12 Jun 2011 14:16:30 +0700
Subject: [PATCH 2/2] Fix log
---
base/BSW_instance.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/BSW_instance.cpp b/base/BSW_instance.cpp
index ac670f9..6838d45 100644
--- a/base/BSW_instance.cpp
+++ b/base/BSW_instance.cpp
@@ -44,7 +44,7 @@ void BSWScriptedInstance::DoOpenDoor(ObjectGuid guid)
if (GameObject* Go = instance->GetGameObject(guid))
Go->SetGoState(GO_STATE_ACTIVE);
else
- debug_log("BSW: DoOpenDoor attempt set data to object %u, but no this object", guid);
+ debug_log("BSW: DoOpenDoor attempt set data to object %u, but no this object", guid.GetCounter());
}
void BSWScriptedInstance::DoCloseDoor(ObjectGuid guid)
@@ -57,7 +57,7 @@ void BSWScriptedInstance::DoCloseDoor(ObjectGuid guid)
if (pGo)
pGo->SetGoState(GO_STATE_READY);
else
- debug_log("BSW: DoCloseDoor attempt set data to object %u, but no this object", guid);
+ debug_log("BSW: DoCloseDoor attempt set data to object %u, but no this object", guid.GetCounter());
}
void BSWScriptedInstance::DoOpenDoor(uint32 entry)
--
1.7.4.msysgit.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment