MORTEVIELLE: Bugfix for loading data in charge_cfiph()

This commit is contained in:
Paul Gilbert 2012-01-01 22:38:50 +11:00 committed by Strangerke
parent e76460e362
commit e3facc3f6c

View File

@ -373,7 +373,9 @@ void ani50() {
if (!f.open("cfiph.mor"))
error("Missing file - cfiph.mor");
f.read(t_cph, 50);
for (int i = 0; i < (f.size() / 2); ++i)
t_cph[i] = f.readSint16LE();
f.close();
}