short armor, health; memcpy(&armor, &pEnt->curstate.fuser2, 2); memcpy(&health, &pEnt->curstate.fuser2 + 2, 2); // although it could be the other way around