[wpdev-commits] wolfpack/network uosocket.cpp,1.294,1.295
Brought to you by:
rip,
thiagocorrea
|
From: <xs...@us...> - 2003-09-20 12:01:50
|
Update of /cvsroot/wpdev/wolfpack/network
In directory sc8-pr-cvs1:/tmp/cvs-serv28299/network
Modified Files:
uosocket.cpp
Log Message:
introducing guard ai,
fixes performance issues with definition lists
Index: uosocket.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/network/uosocket.cpp,v
retrieving revision 1.294
retrieving revision 1.295
diff -C2 -d -r1.294 -r1.295
*** uosocket.cpp 19 Sep 2003 22:02:41 -0000 1.294
--- uosocket.cpp 20 Sep 2003 12:01:44 -0000 1.295
***************
*** 1930,1938 ****
pc_i->callGuards();
}
- else if( pc_i->objectType() == enNPC )//&& pc_i->npcaitype() == 4 )
- {
- _player->makeCriminal();
- pc_i->fight( _player );
- }
else if ((pc_i->objectType() == enNPC || pc_i->isTamed()) && !pc_i->isAtWar() )//&& pc_i->npcaitype() != 4) // changed from 0x40 to 4, cauz 0x40 was removed LB
{
--- 1930,1933 ----
|