alienarena-20130827-format.patch 400 B

123456789101112
  1. --- a/source/game/p_client.c.old 2016-01-18 20:13:25.147714704 +0100
  2. +++ b/source/game/p_client.c 2016-01-18 20:13:38.776476727 +0100
  3. @@ -2123,7 +2123,7 @@
  4. #else
  5. ent->ctype = 0; //alien is default
  6. sprintf(modelpath, "players/%s/human", playermodel);
  7. - sprintf(ent->charModel, playermodel);
  8. + sprintf(ent->charModel, "%s", playermodel);
  9. Q2_FindFile (modelpath, &file);
  10. if(file)
  11. {