This commit is contained in:
Miloslav Ciz 2025-06-20 18:25:04 +02:00
parent 09031d209d
commit 5522f03daf
6 changed files with 57 additions and 29 deletions

2
game.h
View file

@ -922,7 +922,7 @@ int LCR_gameLoadReplay(unsigned int replayIndex)
LCR_LOG2("map name hash matches");
if (LCR_gameLoadMap(mapIndex) && mapHash == LCR_currentMap.hash)
return LCR_replayValidate() ? mapIndex : -3;
return LCR_replayValidate() ? (int) mapIndex : -3;
else
{
LCR_LOG2("bad map");