- Timestamp:
- Aug 10, 2009, 12:45:57 PM (15 years ago)
- Location:
- Daodan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/Daodan_Cheater.c
r453 r454 126 126 case cheat_shinobi: 127 127 { 128 Character* player = (Character*)*(( char**)(ONgGameState + GSA_player));128 Character* player = (Character*)*((void**)(ONgGameState + GSA_player)); 129 129 if (player->MaxHealth == 1) 130 130 { 131 131 player->Health = cheat_oldhealth; 132 132 player->MaxHealth = cheat_oldmaxhealth; 133 player->Flags = player->Flags & ~(chr_bossshield | chr_weaponimmune); 133 134 return 0; 134 135 } … … 139 140 player->Health = 1; 140 141 player->MaxHealth = 1; 142 player->Flags = player->Flags | chr_bossshield | chr_weaponimmune; 141 143 return 1; 142 144 }
Note:
See TracChangeset
for help on using the changeset viewer.