mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 19:40:48 +00:00
Redo ReadSaveBuf + common.h cleanup
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
#include "General.h"
|
||||
#include "Streaming.h"
|
||||
#include "Weapon.h"
|
||||
#include "SaveBuf.h"
|
||||
|
||||
CGangInfo CGangs::Gang[NUM_GANGS];
|
||||
bool CGangs::GangAttackWithCops[NUM_GANGS];
|
||||
@ -119,6 +120,6 @@ INITSAVEBUF
|
||||
CheckSaveHeader(buf, 'G','N','G','\0', size - SAVE_HEADER_SIZE);
|
||||
|
||||
for (int i = 0; i < NUM_GANGS; i++)
|
||||
Gang[i] = ReadSaveBuf<CGangInfo>(buf);
|
||||
ReadSaveBuf(&Gang[i], buf);
|
||||
VALIDATESAVEBUF(size);
|
||||
}
|
||||
|
Reference in New Issue
Block a user