|
|
|
|
@ -682,7 +682,7 @@ void LoadPlrGFX(PlayerStruct &player, player_graphic graphic)
|
|
|
|
|
app_fatal("PLR:2"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
sprintf(pszName, "PlrGFX\\%s\\%s\\%s%s.CL2", cs, prefix, prefix, szCel); |
|
|
|
|
sprintf(pszName, R"(PlrGFX\%s\%s\%s%s.CL2)", cs, prefix, prefix, szCel); |
|
|
|
|
auto &animationData = player.AnimationData[static_cast<size_t>(graphic)]; |
|
|
|
|
SetPlayerGPtrs(pszName, animationData.RawData, animationData.CelSpritesForDirections, animationWidth); |
|
|
|
|
} |
|
|
|
|
|