]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'terencehill/intermission_restart_fix' into 'master'
authorterencehill <piuntn@gmail.com>
Sun, 25 Feb 2024 09:55:47 +0000 (09:55 +0000)
committerterencehill <piuntn@gmail.com>
Sun, 25 Feb 2024 09:55:47 +0000 (09:55 +0000)
Fix restart applying different gametype if called after gametype vote

See merge request xonotic/xonotic-data.pk3dir!1256

1  2 
qcsrc/server/mapvoting.qc
qcsrc/server/mapvoting.qh

Simple merge
index c33dd5242f9614d515bfa71b8b287a262ae25164,8c6a2a7690cc7c6e0efb075411839f929c6f6fef..36578740c07fff735e11041ce9811d1284727484
@@@ -30,9 -30,8 +30,9 @@@ void MapVote_Start()
  void MapVote_Spawn();
  void MapVote_Think();
  void MapVote_SendPicture(entity to, int id);
 +bool GameTypeVote_SetGametype(entity type);
  float GameTypeVote_Start();
- float GameTypeVote_Finished(float pos);
+ float GameTypeVote_Finished(int pos);
  string GameTypeVote_MapInfo_FixName(string m);
  
  bool gametypevote;