From: <fu...@us...> - 2009-06-15 13:04:32
|
Revision: 6447 http://gemrb.svn.sourceforge.net/gemrb/?rev=6447&view=rev Author: fuzzie Date: 2009-06-15 13:04:24 +0000 (Mon, 15 Jun 2009) Log Message: ----------- always use first party member for region travel Modified Paths: -------------- gemrb/trunk/gemrb/plugins/Core/GameControl.cpp Modified: gemrb/trunk/gemrb/plugins/Core/GameControl.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/Core/GameControl.cpp 2009-06-15 11:06:19 UTC (rev 6446) +++ gemrb/trunk/gemrb/plugins/Core/GameControl.cpp 2009-06-15 13:04:24 UTC (rev 6447) @@ -1776,9 +1776,9 @@ } //p is a searchmap travel region - if ( actor->GetCurrentArea()->GetCursor(p) == IE_CURSOR_TRAVEL) { + if ( party[0]->GetCurrentArea()->GetCursor(p) == IE_CURSOR_TRAVEL) { sprintf( Tmp, "NIDSpecial2()" ); - actor->AddAction( GenerateAction( Tmp) ); + party[0]->AddAction( GenerateAction( Tmp) ); } return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |