MSVC build fix

git-svn-id: https://svn.eduke32.com/eduke32@3802 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2013-05-23 18:27:36 +00:00
parent 3e9f25081d
commit 6a2ffa9e47

View file

@ -5356,7 +5356,7 @@ void G_SaveMapState(void)
mapstate_t *save; mapstate_t *save;
if (mapinfo->savedstate == NULL) if (mapinfo->savedstate == NULL)
mapinfo->savedstate = Bcalloc(1,sizeof(mapstate_t)); mapinfo->savedstate = (mapstate_t *)Bcalloc(1,sizeof(mapstate_t));
save = mapinfo->savedstate; save = mapinfo->savedstate;
if (save != NULL) if (save != NULL)