1
0
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:
Michał W. Urbańczyk 2007-10-22 17:01:00 +00:00
parent a5664e408a
commit 8440ffb39b
3 changed files with 6 additions and 2 deletions

View File

@ -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"

View File

@ -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);

View File

@ -203,8 +203,8 @@ void initGameState(CGameInfo * cgi)
int _tmain(int argc, _TCHAR* argv[])
{
CLuaHandler luatest;
luatest.test();
//CLuaHandler luatest;
//luatest.test();
//CBIKHandler cb;
//cb.open("CSECRET.BIK");