MCPcopy Create free account
hub / github.com/NetHack/NetHack / relative_time_to_moves

Function relative_time_to_moves

src/restore.c:1327–1333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1325}
1326
1327void
1328relative_time_to_moves(long *timestamp)
1329{
1330 long prevts = *timestamp;
1331
1332 *timestamp = svm.moves + prevts;
1333}
1334
1335/* "name-role-race-gend-algn" occurs very early in a save file; sometimes we
1336 want the whole thing, other times just "name" (for svp.plname[]) */

Callers 5

restmonFunction · 0.85
restgamestateFunction · 0.85
rest_adjust_levelflagsFunction · 0.85
savegamestateFunction · 0.85
savemonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected