mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- added a serializer for the flamethrower's fire map.
This commit is contained in:
parent
0656beeb2b
commit
7253b4eb74
5 changed files with 54 additions and 38 deletions
|
@ -218,7 +218,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, TArray<T, TT> &value,
|
|||
{
|
||||
if (arc.isWriting())
|
||||
{
|
||||
if (value.Size() == 0) return arc; // do not save empty arrays
|
||||
if (value.Size() == 0 && key) return arc; // do not save empty arrays
|
||||
}
|
||||
bool res = arc.BeginArray(key);
|
||||
if (arc.isReading())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue