Jump to content

[patch][5697] Typo In Unit.cpp


Guest Avensis

Recommended Posts

crearture -> creature

Index: src/game/Unit.cpp
===================================================================
--- src/game/Unit.cpp        (revision 5677)
+++ src/game/Unit.cpp        (working copy)
@@ -888,7 +888,7 @@

        if(!spellInfo)
        {
-                sLog.outError("CastSpell: unknown spell id %i by caster: %s %u)", spellId,(GetTypeId()==TYPEID_PLAYER ? "player (GUID:" : "crearture (Entry:"),
(GetTypeId()==TYPEID_PLAYER ? GetGUIDLow() : GetEntry()));
+                sLog.outError("CastSpell: unknown spell id %i by caster: %s %u)", spellId,(GetTypeId()==TYPEID_PLAYER ? "player (GUID:" : "creature (Entry:"),
(GetTypeId()==TYPEID_PLAYER ? GetGUIDLow() : GetEntry()));
                return;
        }

@@ -899,7 +899,7 @@
{
        if(!spellInfo)
        {
-                sLog.outError("CastSpell: unknown spell by caster: %s %u)", (GetTypeId()==TYPEID_PLAYER ? "player (GUID:" : "crearture (Entry:"),
(GetTypeId()==TYPEID_PLAYER ? GetGUIDLow() : GetEntry()));
+                sLog.outError("CastSpell: unknown spell by caster: %s %u)", (GetTypeId()==TYPEID_PLAYER ? "player (GUID:" : "creature (Entry:"),
(GetTypeId()==TYPEID_PLAYER ? GetGUIDLow() : GetEntry()));
                return;
        }

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use