diff --git a/src/game/g_map.pas b/src/game/g_map.pas
index ac54bd535a9d82d6e3d1c00ae97795761348f24c..bac475b18901716c0c48b4007f0cc24167a60bef 100644 (file)
--- a/src/game/g_map.pas
+++ b/src/game/g_map.pas
e_LogWritefln('Loading map: %s', [mapResName], MSG_NOTIFY);
g_Game_SetLoadingText(_lc[I_LOAD_MAP], 0, False);
- stt := curTimeMicro();
+ stt := getTimeMicro();
try
mapReader := g_Map_ParseMap(Data, Len);
gMusic.SetByName('');
end;
- stt := curTimeMicro()-stt;
+ stt := getTimeMicro()-stt;
e_LogWritefln('map loaded in %s.%s milliseconds', [Integer(stt div 1000), Integer(stt mod 1000)]);
mapOk := true;
finally