- Fixed a crash coming from velo.c

- Improved saving of reflection lists
- The other changes are mostly whitespace
This commit is contained in:
koennecke
2009-10-30 13:49:37 +00:00
parent cb0e4ea434
commit 2e873e3059
13 changed files with 79 additions and 14 deletions

View File

@@ -180,8 +180,10 @@ int GetCountLock(pICountable self, SConnection * pCon)
{
if (self->running == 1) {
SCWrite(pCon, "ERROR: someone else is already counting!", eError);
/* printf("Countlock denied\n"); */
return 0;
} else {
/* printf("Countlock aquired\n");*/
self->running = 1;
return 1;
}
@@ -190,6 +192,7 @@ int GetCountLock(pICountable self, SConnection * pCon)
/*--------------------------------------------------------------------------*/
void ReleaseCountLock(pICountable self)
{
/* printf("Countlock released\n"); */
self->running = 0;
}