ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/apply.C
(Generate patch)

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.25 by root, Mon Sep 11 23:33:30 2006 UTC vs.
Revision 1.26 by root, Wed Sep 13 23:41:47 2006 UTC

1 1
2/* 2/*
3 * static char *rcsid_apply_c = 3 * static char *rcsid_apply_c =
4 * "$Id: apply.C,v 1.25 2006/09/11 23:33:30 root Exp $"; 4 * "$Id: apply.C,v 1.26 2006/09/13 23:41:47 root Exp $";
5 */ 5 */
6 6
7/* 7/*
8 CrossFire, A Multiplayer game for X-windows 8 CrossFire, A Multiplayer game for X-windows
9 9
1315 else 1315 else
1316 { 1316 {
1317 altar->value = 1; /* works only once */ 1317 altar->value = 1; /* works only once */
1318 push_button (altar); 1318 push_button (altar);
1319 } 1319 }
1320
1320 return sacrifice == NULL; 1321 return !sacrifice;
1321 } 1322 }
1322 else 1323 else
1323 {
1324 return 0; 1324 return 0;
1325 }
1326} 1325}
1327 1326
1328/** 1327/**
1329 * Handles 'movement' of shop mats. 1328 * Handles 'movement' of shop mats.
1330 * Returns 1 if 'op' was destroyed, 0 if not. 1329 * Returns 1 if 'op' was destroyed, 0 if not.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines