forgot a little thing
This commit is contained in:
parent
4a29cad6cc
commit
9deee8f0cf
2
tools.c
2
tools.c
@ -79,7 +79,7 @@ Uint32 getColor(t_pixel pixel){
|
||||
case IRON : return 0x4A4036;
|
||||
case DUDE :
|
||||
dudeData = pixel.data;
|
||||
return dudeData->team == ORANGE ? 0x7A4100 : dudeData->success ? 0x9900FF : 0xFF0000;
|
||||
return dudeData->team == ORANGE ? 0x7A4100 : 0x9900FF;
|
||||
case SPAWN :
|
||||
spawnData = (int*)(pixel.data);
|
||||
return *spawnData == ORANGE ? 0xFFC080 : 0xD596FF;
|
||||
|
Loading…
x
Reference in New Issue
Block a user