Skip to content

Commit 5c644c2

Browse files
committed
Remove unnecessary core check
1 parent 8f2842d commit 5c644c2

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

methods/CMangos/BigIntMethods.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ namespace LuaBigInt
101101

102102
int ToString(Eluna* E, ObjectGuid*)
103103
{
104-
#if defined ELUNA_TRINITY
105-
E->Push(E->CHECKVAL<ObjectGuid>(1).ToString());
106-
#else
107104
E->Push(E->CHECKVAL<ObjectGuid>(1).GetString());
108-
#endif
109105
return 1;
110106
}
111107

methods/Mangos/BigIntMethods.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ namespace LuaBigInt
101101

102102
int ToString(Eluna* E, ObjectGuid*)
103103
{
104-
#if defined ELUNA_TRINITY
105-
E->Push(E->CHECKVAL<ObjectGuid>(1).ToString());
106-
#else
107104
E->Push(E->CHECKVAL<ObjectGuid>(1).GetString());
108-
#endif
109105
return 1;
110106
}
111107

methods/TrinityCore/BigIntMethods.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ namespace LuaBigInt
101101

102102
int ToString(Eluna* E, ObjectGuid*)
103103
{
104-
#if defined ELUNA_TRINITY
105104
E->Push(E->CHECKVAL<ObjectGuid>(1).ToString());
106-
#else
107-
E->Push(E->CHECKVAL<ObjectGuid>(1).GetString());
108-
#endif
109105
return 1;
110106
}
111107

methods/VMangos/BigIntMethods.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,7 @@ namespace LuaBigInt
101101

102102
int ToString(Eluna* E, ObjectGuid*)
103103
{
104-
#if defined ELUNA_TRINITY
105-
E->Push(E->CHECKVAL<ObjectGuid>(1).ToString());
106-
#else
107104
E->Push(E->CHECKVAL<ObjectGuid>(1).GetString());
108-
#endif
109105
return 1;
110106
}
111107

0 commit comments

Comments
 (0)