summaryrefslogtreecommitdiff
path: root/src/checkFront.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-27 16:46:09 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-27 16:46:09 +0000
commita0f73cf7421e55e84b61065b4eb7ed13b05ce055 (patch)
treedbbc9e1d9250d85ce2e596841b0aea9cd477c016 /src/checkFront.c
parente528950ac7a2d23512be2a06378525b00be74185 (diff)
- šetřit možnosti podvádění – rychlost pohybu
- delObjectFromSpace ma casovu narocnost log(2,n) pri odstraneni objetu zo zonamu objektov ( btw. z hladiska programovania su veci pre 0.20 hotove ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@75 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/checkFront.c')
-rw-r--r--src/checkFront.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/checkFront.c b/src/checkFront.c
index 7baa4f2..f6164f3 100644
--- a/src/checkFront.c
+++ b/src/checkFront.c
@@ -63,17 +63,17 @@ void eventMsgInCheckFront(client_t *client)
currentTime = getMyTime();
- for( i = 0 ; i < client->listCheck->count ; i++ )
+ for( i = 0 ; i < client->listSendMsg->count ; i++ )
{
checkfront_t *this;
- this = (checkfront_t *)client->listCheck->list[i];
+ this = (checkfront_t *)client->listSendMsg->list[i];
switch( this->type )
{
case CHECK_FORNT_TYPE_SIMPLE :
sendClient(client, this->msg);
- delListItem(client->listCheck, i, destroyCheck);
+ delListItem(client->listSendMsg, i, destroyCheck);
i--;
break;
@@ -92,7 +92,7 @@ void eventMsgInCheckFront(client_t *client)
delID(this->id);
}
- delListItem(client->listCheck, i, destroyCheck);
+ delListItem(client->listSendMsg, i, destroyCheck);
i--;
}
break;