mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-21 02:51:46 +00:00
Run savegame events as myconnectindex instead of screenpeek
This doesn't really matter right now, but it's wrong. git-svn-id: https://svn.eduke32.com/eduke32@7934 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
41ff733fcd
commit
0a5cdea62a
1 changed files with 2 additions and 2 deletions
|
@ -820,7 +820,7 @@ int32_t G_SavePlayer(savebrief_t & sv, bool isAutoSave)
|
|||
polymer_resetlights();
|
||||
#endif
|
||||
|
||||
VM_OnEvent(EVENT_SAVEGAME, g_player[screenpeek].ps->i, screenpeek);
|
||||
VM_OnEvent(EVENT_SAVEGAME, g_player[myconnectindex].ps->i, myconnectindex);
|
||||
|
||||
portableBackupSave(sv.path, sv.name, ud.last_stateless_volume, ud.last_stateless_level);
|
||||
|
||||
|
@ -847,7 +847,7 @@ int32_t G_SavePlayer(savebrief_t & sv, bool isAutoSave)
|
|||
G_RestoreTimers();
|
||||
ototalclock = totalclock;
|
||||
|
||||
VM_OnEvent(EVENT_POSTSAVEGAME, g_player[screenpeek].ps->i, screenpeek);
|
||||
VM_OnEvent(EVENT_POSTSAVEGAME, g_player[myconnectindex].ps->i, myconnectindex);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue