Mercurial > mm7
comparison mm7_6.cpp @ 887:4de9c65baa39
small fix in cast spell
author | zipi |
---|---|
date | Tue, 02 Apr 2013 20:54:41 +0100 |
parents | 2db21a810d48 |
children | abf7b7d2c8f7 |
comparison
equal
deleted
inserted
replaced
886:b6573b99ca40 | 887:4de9c65baa39 |
---|---|
3367 v20 = (char *)&pParty->pPlayers[v3->uPlayerID]; | 3367 v20 = (char *)&pParty->pPlayers[v3->uPlayerID]; |
3368 memcpy(&a1.stru_24, &v20[36 * *((int *)v20 + 1620) + 496], sizeof(a1.stru_24)); | 3368 memcpy(&a1.stru_24, &v20[36 * *((int *)v20 + 1620) + 496], sizeof(a1.stru_24)); |
3369 a1.uAttributes = 256; | 3369 a1.uAttributes = 256; |
3370 if ( pParty->bTurnBasedModeOn == 1 ) | 3370 if ( pParty->bTurnBasedModeOn == 1 ) |
3371 a1.uAttributes = 260; | 3371 a1.uAttributes = 260; |
3372 for ( i = 0; i < (signed int)this; ++i ) | 3372 for ( i = 0; i < (signed int)_this; ++i ) |
3373 { | 3373 { |
3374 if ( i ) | 3374 if ( i ) |
3375 a1.vPosition.z += 32; | 3375 a1.vPosition.z += 32; |
3376 a1.uSectorID = pIndoor->GetSector(a1.vPosition.x, a1.vPosition.y, a1.vPosition.z); | 3376 a1.uSectorID = pIndoor->GetSector(a1.vPosition.x, a1.vPosition.y, a1.vPosition.z); |
3377 if ( a1.Create( | 3377 if ( a1.Create( |