- Fixed uninitialized line number info in thing map parsing.

This commit is contained in:
Edoardo Prezioso 2016-12-02 13:22:42 +01:00 committed by Christoph Oelckers
parent 0488b18f8f
commit 9dbfa6d04e

View file

@ -601,6 +601,7 @@ static void ParseSpawnMap(FScanner &sc, SpawnMap & themap, const char *descript)
} }
defined[ednum] = true; defined[ednum] = true;
editem.classname = sc.String; editem.classname = sc.String;
editem.linenum = sc.Line;
themap.Insert(ednum, editem); themap.Insert(ednum, editem);
} }