Fixed gcc warnings

This commit is contained in:
Yehonal
2017-09-21 00:59:43 +02:00
parent 8ad3c15d63
commit 77340773be
13 changed files with 53 additions and 53 deletions

View File

@@ -283,7 +283,7 @@ struct violet_hold_trashAI : public npc_escortAI
void WaypointReached(uint32 id)
{
if (PLoc<6)
if (id == PLocWPCount[PLoc] -1 -(bAlt ? 1 : 0))
if (id == uint16(PLocWPCount[PLoc] -1 -(bAlt ? 1 : 0)))
CreatureStartAttackDoor();
}