Fixes for building on MSVS 2005 - these should also suffice for MSVC6.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3110 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -34,3 +34,4 @@ Version 0.6.1: Revision 2652
|
|||||||
Version 0.6.2: Revision 2669
|
Version 0.6.2: Revision 2669
|
||||||
Version 0.6.3: Revision 2828
|
Version 0.6.3: Revision 2828
|
||||||
Version 0.6.4: Revision 2869
|
Version 0.6.4: Revision 2869
|
||||||
|
Version 0.6.5: Revision 3110
|
||||||
|
|||||||
@@ -189,10 +189,11 @@ _set_current_index_header (RESOURCE_INDEX newResourceIndex)
|
|||||||
RESOURCE_INDEX
|
RESOURCE_INDEX
|
||||||
InitResourceSystem (void)
|
InitResourceSystem (void)
|
||||||
{
|
{
|
||||||
|
RESOURCE_INDEX ndx;
|
||||||
if (curResourceIndex) {
|
if (curResourceIndex) {
|
||||||
return curResourceIndex;
|
return curResourceIndex;
|
||||||
}
|
}
|
||||||
RESOURCE_INDEX ndx = allocResourceIndex ();
|
ndx = allocResourceIndex ();
|
||||||
|
|
||||||
_set_current_index_header (ndx);
|
_set_current_index_header (ndx);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user