From 96ffb827ae8ad6661247fec0835f012a3bdc5281 Mon Sep 17 00:00:00 2001 From: Anubisss Date: Thu, 16 Apr 2009 00:11:48 +0200 Subject: *Better names for var Modelid. --HG-- branch : trunk --- src/game/Object.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game/Object.cpp') diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 956b327820a..d106b578004 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -598,15 +598,15 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask { if(target->isGameMaster()) { - if(cinfo->Modelid2) - *data << cinfo->Modelid1; + if(cinfo->Modelid_A2) + *data << cinfo->Modelid_A1; else *data << 17519; // world invisible trigger's model } else { - if(cinfo->Modelid2) - *data << cinfo->Modelid2; + if(cinfo->Modelid_A2) + *data << cinfo->Modelid_A2; else *data << 11686; // world invisible trigger's model } -- cgit v1.2.3