forgot a little thing

This commit is contained in:
Anselme 2015-01-15 20:01:37 +01:00
parent 4a29cad6cc
commit 9deee8f0cf

View File

@ -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;