mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-24 03:47:18 +02:00
Probably last bugfixes for 0.3
This commit is contained in:
parent
a5664e408a
commit
8440ffb39b
@ -109,6 +109,7 @@
|
||||
InlineFunctionExpansion="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
FavorSizeOrSpeed="1"
|
||||
OmitFramePointers="true"
|
||||
EnableFiberSafeOptimizations="true"
|
||||
WholeProgramOptimization="true"
|
||||
/>
|
||||
@ -124,6 +125,7 @@
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="../EmptyAI.dll"
|
||||
LinkTimeCodeGeneration="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
|
@ -122,6 +122,8 @@ bool CCallback::moveHero(int ID, CPath * path, int idtype, int pathType)
|
||||
int nn=0; //number of interfece of currently browsed player
|
||||
for(std::map<int, PlayerState>::iterator j=CGI->state->players.begin(); j!=CGI->state->players.end(); ++j)//CGI->state->players.size(); ++j) //for testing
|
||||
{
|
||||
if (j->first > PLAYER_LIMIT)
|
||||
break;
|
||||
if(j->second.fogOfWarMap[stpos.x-1][stpos.y][stpos.z] || j->second.fogOfWarMap[endpos.x-1][endpos.y][endpos.z])
|
||||
{ //player should be notified
|
||||
CGI->playerint[j->first]->heroMoved(curd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user