Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Nightly Builds => Topic started by: SirKnightly on January 24, 2015, 05:57:19 am

Title: Nightly (Windows): 24 Jan 2015 - Revision 11230
Post by: SirKnightly on January 24, 2015, 05:57:19 am
Here is the nightly for Windows on 24 Jan 2015 - Revision 11230

Open non-feature issues in Mantis (http://scp.indiegames.us/mantis/view_all_set.php?type=3&source_query_id=611): 123

Group: Standard
fso_Standard_20150124_r11230.7z (http://swc.fs2downloads.com/builds/WIN/fso_Standard_20150124_r11230.7z)
MD5Sum (http://swc.fs2downloads.com/builds/WIN/fso_Standard_20150124_r11230.md5)

Group: NO-SSE
fso_NO-SSE_20150124_r11230.7z (http://swc.fs2downloads.com/builds/WIN/fso_NO-SSE_20150124_r11230.7z)
MD5Sum (http://swc.fs2downloads.com/builds/WIN/fso_NO-SSE_20150124_r11230.md5)

Group: SSE
fso_SSE_20150124_r11230.7z (http://swc.fs2downloads.com/builds/WIN/fso_SSE_20150124_r11230.7z)
MD5Sum (http://swc.fs2downloads.com/builds/WIN/fso_SSE_20150124_r11230.md5)

Code: [Select]
------------------------------------------------------------------------
r11230 | MageKing17 | 2015-01-23 16:37:12 -0600 (Fri, 23 Jan 2015) | 3 lines
Changed paths:
   M /trunk/fs2_open/code/ship/ship.cpp

Fix a potential crash during ships.tbl parsing.

Makes parse_ship() use ship_info_lookup_sub() instead of ship_info_lookup() (shouldn't be jumping through those hoops during table parsing if they're for FS1 mission conversion), and more importantly, added an error check to ship_info_lookup() to avoid sprintf() exceeding the length of the char array.
------------------------------------------------------------------------