comparison mm7_5.cpp @ 1415:ff495bf260d9

LevelDecoration::GetGlobalEvent
author Nomad
date Sat, 27 Jul 2013 22:21:09 +0200
parents 182d58b2a34c
children 9a1adf08f4ed
comparison
equal deleted inserted replaced
1414:110eac219e5a 1415:ff495bf260d9
2567 v93 = v91 + 1; 2567 v93 = v91 + 1;
2568 if ( v93 > v92 ) 2568 if ( v93 > v92 )
2569 pNPCData4 = (NPCData *)((v93 > v92 + pMapInfo->EncM2percent) + 2); 2569 pNPCData4 = (NPCData *)((v93 > v92 + pMapInfo->EncM2percent) + 2);
2570 else 2570 else
2571 pNPCData4 = (NPCData *)1; 2571 pNPCData4 = (NPCData *)1;
2572 if ( !sub_45063B(pMapInfo, (int)pNPCData4) ) 2572 if ( !_45063B_spawn_some_monster(pMapInfo, (int)pNPCData4) )
2573 pNPCData4 = 0; 2573 pNPCData4 = 0;
2574 if ( pNPCData4 ) 2574 if ( pNPCData4 )
2575 { 2575 {
2576 pPlayerNum = rand() % 4; 2576 pPlayerNum = rand() % 4;
2577 LODWORD(pParty->pPlayers[pPlayerNum].pConditions[2]) = 0; 2577 LODWORD(pParty->pPlayers[pPlayerNum].pConditions[2]) = 0;