Skip to content
Permalink
Browse files

Why did I think it a good idea to mess with fragcount in that order?

  • Loading branch information...
MatthewTheGlutton committed Feb 7, 2019
1 parent 7bc533b commit c0dd2c26c291aa94031abe6e4e4d3cd92dab98f3
Showing with 9 additions and 3 deletions.
  1. +4 −0 acs/hdacs.acs
  2. BIN acs/hdacs.o
  3. +5 −3 zscript/playerdeath.txt
@@ -10,6 +10,10 @@ bool wiped=false;
bool forcingnext=false;
bool timefornext=false;
script "CheckForNextMap" OPEN{
ending=false;
wiped=false;
timefornext=false;
forcingnext=false;
while(!forcingnext){
delay(1);
if(timefornext){
BIN +16 Bytes (100%) acs/hdacs.o
Binary file not shown.
@@ -138,7 +138,7 @@ extend class HDHandlers{

bool endgame;
int coopdeaths;
int teamdeaths[255];
int teamdeaths[6];
int ffadeaths[MAXPLAYERS];
bool wiped[MAXPLAYERS];
void livesinit(){
@@ -218,8 +218,10 @@ extend class HDHandlers{
for(int i=0;i<MAXPLAYERS;i++){
if(playeringame[i]){
gtmi=players[i].getteam();
players[i].fragcount=max(0,fl-teamdeaths[gtmi]);
if(players[i].getteam()==gtm)lives[i]=players[i].fragcount;
int newlives=max(0,fl-teamdeaths[gtmi]);
players[i].fragcount=newlives;
lives[i]=newlives;
// if(players[i].getteam()==gtm)lives[i]=players[i].fragcount;

//figure out which teams remain
if(!wiped[i]){

0 comments on commit c0dd2c2

Please sign in to comment.
You can’t perform that action at this time.