mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[11922] Add ASSERT helper function to print entry and guid info
Use this in first cases: GetAngle and in PathFinder::BuildPolyPath Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
b03443c425
commit
49bd484a41
6 changed files with 23 additions and 11 deletions
|
|
@ -3214,11 +3214,9 @@ uint32 Map::GenerateLocalLowGuid(HighGuid guidhigh)
|
|||
case HIGHGUID_VEHICLE:
|
||||
return m_VehicleGuids.Generate();
|
||||
default:
|
||||
MANGOS_ASSERT(0);
|
||||
MANGOS_ASSERT(false);
|
||||
return 0;
|
||||
}
|
||||
|
||||
MANGOS_ASSERT(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue