Changeset 61 for libcaca/trunk/src/player.c
- Timestamp:
- Dec 23, 2002, 4:06:13 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/player.c
r59 r61 4 4 * All Rights Reserved 5 5 * 6 * $Id: player.c,v 1. 6 2002/12/23 13:46:27sam Exp $6 * $Id: player.c,v 1.7 2002/12/23 15:06:13 sam Exp $ 7 7 * 8 8 * This program is free software; you can redistribute it and/or modify … … 35 35 p->vy = 0; 36 36 p->weapon = 0; 37 p-> nuke = 0;37 p->special = MAX_SPECIAL; 38 38 p->life = MAX_LIFE; 39 39 … … 87 87 } 88 88 89 if( p-> nuke)89 if( p->special < MAX_SPECIAL ) 90 90 { 91 p-> nuke--;91 p->special++; 92 92 } 93 93
Note: See TracChangeset
for help on using the changeset viewer.